Divider
Description of the Divider's function.
Examples
Horizontal
A simple example. The Divider is horizontal by default.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
Title
An inner title can be added using the orientation prop. The heading style can be removed with the plain prop.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
API
Attributes
| Property | Description | Type | Default |
|---|---|---|---|
| type | Direction if the divider. | horizontal | vertical | horizontal |
| dashed | Whether the line is dashed. | Boolean | false |
| orientation | Position of the title inside the divider. | left | right | center | center |
| plain | Makes the title inside the divider is plain text instead of a heading. | Boolean | false |
| class | Custom class for the divider. | String|Object | - |
| style | Custom style of the divider. | String|Object | - |