:: BASE_DOC ::
| name | type | default | description | required |
|---|---|---|---|---|
| className | String | - | className of component | N |
| style | Object | - | CSS(Cascading Style Sheets),Typescript:React.CSSProperties |
N |
| align | String | center | options: left/right/center | N |
| children | TNode | - | Typescript:string | TNode。see more ts definition |
N |
| content | TNode | - | Typescript:string | TNode。see more ts definition |
N |
| dashed | Boolean | false | - | N |
| layout | String | horizontal | options: horizontal/vertical | N |
The component provides the following CSS variables, which can be used to customize styles.
| Name | Default Value | Description |
|---|---|---|
| --td-divider-border-width | 1px | - |
| --td-divider-color | @bg-color-component | - |
| --td-divider-content-color | @text-color-placeholder | - |
| --td-divider-content-font | @font-body-small | - |
| --td-divider-content-line-style | solid | - |
| --td-divider-content-margin | @spacer-1 | - |
| --td-divider-horizontal-margin | 10px | - |
| --td-divider-vertical-margin | @spacer | - |