vxe-table-demonic
Version:
一个基于 vue 的 PC 端表单/表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、JSON 配置式...
40 lines (35 loc) • 851 B
TypeScript
import { VXEComponent } from './component'
import { VxeOptionPropTypes } from './option'
/* eslint-disable no-use-before-define */
/**
* 组件 - 下拉框选项分组
* @example import { VxeOptgroup } from 'vxe-components'
*/
export const VxeOptgroup: VXEComponent<VxeOptgroupProps>
/**
* 组件 - 下拉框选项分组
*/
export const Optgroup: typeof VxeOptgroup
export type VxeOptgroupProps = {
/**
* 显示内容
*/
label?: VxeOptionPropTypes.Label
/**
* 是否禁用
*/
visible?: VxeOptionPropTypes.Visible
className?: VxeOptionPropTypes.ClassName
/**
* 是否禁用
*/
disabled?: VxeOptionPropTypes.Disabled
}
export interface VxeOptgroupSlots {
/**
* 自定义插槽模板
*/
[key: string]: ((params: {
[key: string]: any
}) => any) | undefined
}