Separator
Shows related items.
Separator
To implement Separator component into your project you’ll need to add the import:
import Separator from "@kiwicom/orbit-components/lib/Separator";
After adding import into your project you can use it simply like:
<Separator />
Props
Table below contains all types of the props available in the Separator component.
Name | Type | Default | Description |
---|---|---|---|
indent | enum | "none" | Amount of padding expressed as spacing tokens in the direction depending on the align prop. |
align | enum | "left" | The direction of indentation. If "center" then it’s indented from both sides. |
spaceAfter | enum | Additional margin-bottom after component. See this docs |
enum
indent | align |
---|---|
"none" | "left" |
"small" | "right" |
"medium" | "center" |
"large" | |
"XLarge" | |
"XXLarge" |