| 1 |
/// <reference types="react" /> |
| 2 |
export declare enum DividerVariant { |
| 3 |
hr = "hr", |
| 4 |
li = "li", |
| 5 |
div = "div" |
| 6 |
} |
| 7 |
export interface DividerProps extends React.HTMLProps<HTMLElement> { |
| 8 |
/** Additional classes added to the divider */ |
| 9 |
className?: string; |
| 10 |
/** The component type to use */ |
| 11 |
component?: 'hr' | 'li' | 'div'; |
| 12 |
/** Insets at various breakpoints. */ |
| 13 |
inset?: { |
| 14 |
default?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl'; |
| 15 |
sm?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl'; |
| 16 |
md?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl'; |
| 17 |
lg?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl'; |
| 18 |
xl?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl'; |
| 19 |
'2xl'?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl'; |
| 20 |
}; |
| 21 |
/** Indicates how the divider will display at various breakpoints. Vertical divider must be in a flex layout. */ |
| 22 |
orientation?: { |
| 23 |
default?: 'vertical' | 'horizontal'; |
| 24 |
sm?: 'vertical' | 'horizontal'; |
| 25 |
md?: 'vertical' | 'horizontal'; |
| 26 |
lg?: 'vertical' | 'horizontal'; |
| 27 |
xl?: 'vertical' | 'horizontal'; |
| 28 |
'2xl'?: 'vertical' | 'horizontal'; |
| 29 |
}; |
| 30 |
/** The ARIA role of the divider when the component property has a value other than "hr". */ |
| 31 |
role?: 'separator' | 'presentation'; |
| 32 |
} |
| 33 |
export declare const Divider: React.FunctionComponent<DividerProps>; |
| 34 |
//# sourceMappingURL=Divider.d.ts.map |