diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-01-06 21:33:53 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-01-06 21:33:53 +0100 |
commit | 65cfd59f908b0d2667395f2d64df8fb81837f744 (patch) | |
tree | a40baa4346ce63627465b0095fa70a52555d5894 /src/components/vierkant.tsx | |
parent | 78b46754599b887f9b558635f7f1803da3f72692 (diff) |
dialoogvensters
Diffstat (limited to 'src/components/vierkant.tsx')
-rw-r--r-- | src/components/vierkant.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/vierkant.tsx b/src/components/vierkant.tsx index 588d73d..558eab8 100644 --- a/src/components/vierkant.tsx +++ b/src/components/vierkant.tsx @@ -1,9 +1,10 @@ -import { ReactNode } from "react"; +import { CSSProperties, ReactNode } from "react"; interface VierkantProps { href?: string; width?: string; height?: string; + style?: CSSProperties; children?: ReactNode; } @@ -19,6 +20,7 @@ export function Vierkant(props: VierkantProps) { boxSizing: "border-box", width: props.width ? props.width : undefined, height: props.height ? props.height : undefined, + ...props.style }} href={props.href}>{props.children}</a> } |