Skip to main content
Glama
docs.md1.77 kB
## 何时使用 - 对不同章节的文本段落进行分割。 - 对行内文字/链接进行分割,例如表格的操作列。 ## API | 参数 | 说明 | 类型 | 默认值 | 版本 | | --- | --- | --- | --- | --- | | children | 嵌套的标题 | ReactNode | - | | | className | 分割线样式类 | string | - | | | classNames | 用于自定义组件内部各语义化结构的 class,支持对象或函数 | Record<[SemanticDOM](#semantic-dom), string> \| (info: { props })=> Record<[SemanticDOM](#semantic-dom), string> | - | | | dashed | 是否虚线 | boolean | false | | | orientation | 水平或垂直类型 | `horizontal` \| `vertical` | `horizontal` | - | | ~~orientationMargin~~ | 标题和最近 left/right 边框之间的距离,去除了分割线,同时 `titlePlacement` 不能为 `center`。如果传入 `string` 类型的数字且不带单位,默认单位是 px | string \| number | - | | | plain | 文字是否显示为普通正文样式 | boolean | false | 4.2.0 | | style | 分割线样式对象 | CSSProperties | - | | | styles | 用于自定义组件内部各语义化结构的行内 style,支持对象或函数 | Record<[SemanticDOM](#semantic-dom), CSSProperties> \| (info: { props })=> Record<[SemanticDOM](#semantic-dom), CSSProperties> | - | | | size | 间距大小,仅对水平布局有效 | `small` \| `middle` \| `large` | - | 5.25.0 | | titlePlacement | 分割线标题的位置 | `start` \| `end` \| `center` | `center` | - | | ~~type~~ | 水平还是垂直类型 | `horizontal` \| `vertical` | `horizontal` | - | | variant | 分割线是虚线、点线还是实线 | `dashed` \| `dotted` \| `solid` | solid | 5.20.0 | | vertical | 是否垂直,和 orientation 同时配置以 orientation 优先 | boolean | false | - |

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhixiaoqiang/antd-components-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server