Skip to content

Commit 302fd94

Browse files
tompsotaTitani
authored andcommitted
chore(Divider): remove isVertical prop (patternfly#8199)
1 parent 133089f commit 302fd94

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/react-core/src/components/Divider/Divider.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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> {
3937
export 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

0 commit comments

Comments
 (0)