diff options
Diffstat (limited to 'components/ui.tsx')
-rw-r--r-- | components/ui.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/components/ui.tsx b/components/ui.tsx index e6fdceb..e395a47 100644 --- a/components/ui.tsx +++ b/components/ui.tsx @@ -14,6 +14,7 @@ export function Vierkant(props: { className?: string; id?: string; fullwidth?: boolean; + onclick?: () => void; }) { return <a style={{ padding: 24, @@ -30,7 +31,12 @@ export function Vierkant(props: { undefined, height: props.height ? props.height : undefined, ...props.style - }} href={props.href} className={props.className} id={props.id}>{props.children}</a> + }} + href={props.href} + className={props.className} + id={props.id} + onClick={props.onclick} + >{props.children}</a> } export function Button(props: { |