diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-01-07 23:15:33 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-01-07 23:15:33 +0100 |
commit | cb3a0c38944c9eb61bc3e7dc02ca28fc6922993f (patch) | |
tree | fe6568d4cd65812c3327f343459fec13c875dec2 /src/components/ui.tsx | |
parent | 95aed715672265fdb3f4e31d478fb426e28052ab (diff) |
balk :tada:
Diffstat (limited to 'src/components/ui.tsx')
-rw-r--r-- | src/components/ui.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/ui.tsx b/src/components/ui.tsx index 27d98cd..4b4b489 100644 --- a/src/components/ui.tsx +++ b/src/components/ui.tsx @@ -8,6 +8,7 @@ interface VierkantProps { height?: string; style?: CSSProperties; children?: ReactNode; + className?: string; } export function Vierkant(props: VierkantProps) { @@ -23,7 +24,7 @@ export function Vierkant(props: VierkantProps) { width: props.width ? props.width : undefined, height: props.height ? props.height : undefined, ...props.style - }} href={props.href}>{props.children}</a> + }} href={props.href} className={props.className}>{props.children}</a> } interface ButtonProps { |