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.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/Flex.tsx b/src/components/Flex.tsx
index c369767..881c7c2 100644
--- a/src/components/Flex.tsx
+++ b/src/components/Flex.tsx
@@ -4,6 +4,7 @@ import type { React } from '../webpack/common';
export function Flex(props: React.PropsWithChildren<{
flexDirection?: React.CSSProperties["flexDirection"];
style?: React.CSSProperties;
+ className?: string;
}>) {
props.style ??= {};
props.style.flexDirection ||= props.flexDirection;