aboutsummaryrefslogtreecommitdiff
path: root/src/components/ui.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-01-07 23:15:33 +0100
committerlonkaars <l.leblansch@gmail.com>2021-01-07 23:15:33 +0100
commitcb3a0c38944c9eb61bc3e7dc02ca28fc6922993f (patch)
treefe6568d4cd65812c3327f343459fec13c875dec2 /src/components/ui.tsx
parent95aed715672265fdb3f4e31d478fb426e28052ab (diff)
balk :tada:
Diffstat (limited to 'src/components/ui.tsx')
-rw-r--r--src/components/ui.tsx3
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 {