We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f9b56 commit b6aac9aCopy full SHA for b6aac9a
src/design-system/divider/divider.component.tsx
@@ -9,6 +9,9 @@ import type { BoxProps } from '../box';
9
10
export type Props = PropsWithChildren<Readonly<Omit<BoxProps, 'className'>>>;
11
12
-export const Divider = (props: Readonly<BoxProps>): JSX.Element => (
13
- <Box {...props} h="$1" className={cx.divider} />
+export const Divider = ({
+ h = '$1',
14
+ ...props
15
+}: Readonly<BoxProps>): JSX.Element => (
16
+ <Box {...props} h={h} className={cx.divider} />
17
);
0 commit comments