aboutsummaryrefslogtreecommitdiff
path: root/src/components/ui.tsx
diff options
context:
space:
mode:
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 {