import { assignInlineVars } from '@vanilla-extract/dynamic'; import clsx from 'clsx'; import type { HTMLAttributes, PropsWithChildren } from 'react'; import { forwardRef } from 'react'; import * as styles from './style.css'; export type DividerOrientation = 'horizontal' | 'vertical'; export type DividerProps = PropsWithChildren & Omit, 'type'> & { orientation?: DividerOrientation; size?: 'thinner' | 'default'; space?: number; dividerColor?: string; }; export const Divider = forwardRef( ( { orientation = 'horizontal', size = 'default', space: propSpace, dividerColor, style, className, ...otherProps }, ref ) => { const space = propSpace ?? (orientation === 'horizontal' ? 8 : 2); return (
); } ); Divider.displayName = 'Divider'; export default Divider;