Skip to content

Commit

Permalink
chore(Divider): remove isVertical prop (patternfly#8199)
Browse files Browse the repository at this point in the history
  • Loading branch information
tompsota authored and jenny-s51 committed Nov 1, 2022
1 parent 9bcf96a commit 6dfe0fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/react-core/src/components/Divider/Divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export interface DividerProps extends React.HTMLProps<HTMLElement> {
className?: string;
/** The component type to use */
component?: 'hr' | 'li' | 'div';
/** @deprecated Use `orientation` instead. Flag to indicate the divider is vertical (must be in a flex layout) */
isVertical?: boolean;
/** Insets at various breakpoints. */
inset?: {
default?: 'insetNone' | 'insetXs' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl' | 'inset3xl';
Expand All @@ -39,7 +37,6 @@ export interface DividerProps extends React.HTMLProps<HTMLElement> {
export const Divider: React.FunctionComponent<DividerProps> = ({
className,
component = DividerVariant.hr,
isVertical = false,
inset,
orientation,
...props
Expand All @@ -50,7 +47,6 @@ export const Divider: React.FunctionComponent<DividerProps> = ({
<Component
className={css(
styles.divider,
isVertical && styles.modifiers.vertical,
formatBreakpointMods(inset, styles),
formatBreakpointMods(orientation, styles),
className
Expand Down

0 comments on commit 6dfe0fb

Please sign in to comment.