UNPKG

reablocks

Version:
34 lines (33 loc) 849 B
import { default as React, FC } from 'react'; import { DividerTheme } from './DividerTheme'; export interface DividerProps { /** * Classname to apply to the divider. */ className?: string; /** * Disable the margins of the divider. * The default margin is: `--spacings-md`. * @default false */ disableMargins?: boolean; /** * Orientation of the divider. * @default 'horizontal' */ orientation?: 'horizontal' | 'vertical'; /** * Additional style attributes. Recommend to use css classes over this. */ style?: React.CSSProperties; /** * Theme for the Divider. */ theme?: DividerTheme; /** * Variant of the divider. * @default 'primary' */ variant?: 'primary' | 'secondary'; } export declare const Divider: FC<DividerProps>;