liber-salti
Version:
Saltí - Liber Design System
16 lines (15 loc) • 475 B
TypeScript
export interface DividerProps {
/**
* The component orientation.
*/
orientation?: 'horizontal' | 'vertical';
/**
* The variant to use.
*/
variant?: 'fullWidth' | 'middle';
/**
* If true, a vertical divider will have the correct height when used in flex container.
* (By default, a vertical divider will have a calculated height of 0px if it is the child of a flex container.)
*/
flexItem?: boolean;
}