divider
约 149 字小于 1 分钟
2025-10-13
Karin API Docs / divider
变量: divider
constdivider:object
定义于: packages/core/src/components/divider.ts:22
分隔线组件
类型声明
create()
create: (
key,options) =>DividerProps
创建基础分隔线
参数
key
string
唯一标识符
options
Omit<DividerProps, "key" | "componentType"> = {}
分隔线配置
返回
horizontal()
horizontal: (
key,config) =>DividerProps
创建水平分隔线
参数
key
string
唯一标识符
config
Partial<Omit<DividerProps, "key" | "componentType">> = {}
分隔线配置
返回
vertical()
vertical: (
key,config) =>DividerProps
创建垂直分隔线
参数
key
string
唯一标识符
config
Partial<Omit<DividerProps, "key" | "componentType">> = {}
分隔线配置
