File tree Expand file tree Collapse file tree
packages/react-core/src/components/Divider Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ export interface DividerProps extends React.HTMLProps<HTMLElement> {
1414 className ?: string ;
1515 /** The component type to use */
1616 component ?: 'hr' | 'li' | 'div' ;
17- /** @deprecated Use `orientation` instead. Flag to indicate the divider is vertical (must be in a flex layout) */
18- isVertical ?: boolean ;
1917 /** Insets at various breakpoints. */
2018 inset ?: {
2119 default ?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl' ;
@@ -39,7 +37,6 @@ export interface DividerProps extends React.HTMLProps<HTMLElement> {
3937export const Divider : React . FunctionComponent < DividerProps > = ( {
4038 className,
4139 component = DividerVariant . hr ,
42- isVertical = false ,
4340 inset,
4441 orientation,
4542 ...props
@@ -50,7 +47,6 @@ export const Divider: React.FunctionComponent<DividerProps> = ({
5047 < Component
5148 className = { css (
5249 styles . divider ,
53- isVertical && styles . modifiers . vertical ,
5450 formatBreakpointMods ( inset , styles ) ,
5551 formatBreakpointMods ( orientation , styles ) ,
5652 className
You can’t perform that action at this time.
0 commit comments