Skip to content

Commit

Permalink
chore(Divider): added horizontal prop
Browse files Browse the repository at this point in the history
  • Loading branch information
benjitrosch committed Apr 3, 2023
1 parent 57b2b41 commit 536c6b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Divider/Divider.tsx
Expand Up @@ -7,11 +7,13 @@ import { IComponentBaseProps } from '../types'
export type DividerProps = React.HTMLAttributes<HTMLDivElement> &
IComponentBaseProps & {
vertical?: boolean
horizontal?: boolean
}

const Divider = ({
children,
vertical,
horizontal,
dataTheme,
className,
...props
Expand All @@ -21,6 +23,7 @@ const Divider = ({
className,
clsx({
'divider-vertical': vertical,
'divider-horizontal': horizontal,
})
)

Expand Down

0 comments on commit 536c6b8

Please sign in to comment.