@watheia/iron-ui.text.text-separator
Version:
19 lines (13 loc) • 451 B
text/mdx
labels: ["react", "typescript", "line"]
description: "separating line"
import { TextSeparator } from "./text-separator"
### Overview
Separating line spanning the whole line, with room for text. Behaves like a regular `div` element.
Currently, there is no way to customize the border-style.
Border color is applied from css variable `--bit-border-color`.
text separator example:
```js live=true
<TextSeparator>text</TextSeparator>
```