import type { ExtractPropTypes, PropType } from 'vue'; /** * cell-group 组件 props 类型定义 * @description 供 u-cell-group 组件 props 使用 */ export const CellGroupProps = { /** 自定义根节点样式 */ customStyle: { type: [String, Object] as PropType>, default: () => ({}) }, /** 自定义根节点样式类 */ customClass: { type: String as unknown as PropType, default: '' }, /** 分组标题 */ title: { type: String, default: '' }, /** 是否显示分组list上下边框 */ border: { type: Boolean, default: true }, /** 分组标题的样式,对象形式,注意驼峰属性写法 */ titleStyle: { type: Object as PropType>, default: () => ({}) } }; export type CellGroupProps = ExtractPropTypes;