v14.2.0
Github
🌝
View Source
One
Two
Three
render( <StackView axis="horizontal" alignment="center" spacing={<Divider axis="vertical" margin={1} color="grey-7" />} > <Link>One</Link> <Link>Two</Link> <Link>Three</Link> </StackView>)
render( <Menu> <Menu.Item>One</Menu.Item> <Menu.Item>Two</Menu.Item> <Divider margin={0.5} /> <Menu.Item>Three</Menu.Item> <Menu.Item>Four</Menu.Item> <Menu.Item>Five</Menu.Item> </Menu>)
render( <Card spacing={<Divider />}> <Card.Section subdued> <HeadingUppercase>Card Heading</HeadingUppercase> </Card.Section> <Card.Section>Card Section</Card.Section> </Card>)
'horizontal' | 'vertical'
The direction the dividing line should span.
ColorProp
The color of the line
number | string
Controls the space on sides opposite to the line’s defined axis
number
The size of the line in pixels