aboutsummaryrefslogtreecommitdiff
path: root/src/components/Flex.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Flex.tsx')
-rw-r--r--src/components/Flex.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Flex.tsx b/src/components/Flex.tsx
index eda3b33..8a80f02 100644
--- a/src/components/Flex.tsx
+++ b/src/components/Flex.tsx
@@ -4,7 +4,7 @@ export function Flex(props: React.PropsWithChildren<{
flexDirection?: React.CSSProperties["flexDirection"];
style?: React.CSSProperties;
className?: string;
-}>) {
+} & React.HTMLProps<HTMLDivElement>>) {
props.style ??= {};
props.style.flexDirection ||= props.flexDirection;
props.style.gap ??= "1em";