Divider
Divider 用于分隔页面中的内容。
Usage
Nex UI Components
Beautiful, modern and reliable React component library.
Docs
Components
Customization
Components
Customization
API
Divider Props
Divider 继承 as (默认为 'div') 的 Props。
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | 'horizontal'|'vertical' | 'horizontal' | Divider 的方向。 |
| className | ClassValue | - | 用于根元素的 className。 |
| ref | Ref | - | 用于转发根元素。 |
| sx | Interpolation | - | 用于根元素的 sx 属性。 |
| as | ElementType | 'div' | 用于根元素的组件。可以是表示 HTML 元素的字符串,也可以是一个组件。 |
最后更新时间