import { createNamespace } from '../utils'; import { inherit } from '../utils/functional'; import Cell from '../cell'; import Switch, { SwitchEvents } from '../switch'; import { switchProps, SharedSwitchProps } from '../switch/shared'; // Types import { CreateElement, RenderContext } from 'vue/types'; import { DefaultSlots } from '../utils/types'; export type SwitchCellProps = SharedSwitchProps & { size: string; title?: string; border?: boolean; cellSize?: string; }; const [createComponent, bem] = createNamespace('switch-cell'); function SwitchCell( h: CreateElement, props: SwitchCellProps, slots: DefaultSlots, ctx: RenderContext ) { return ( ); } SwitchCell.props = { ...switchProps, title: String, cellSize: String, border: { type: Boolean, default: true }, size: { type: String, default: '24px' } }; export default createComponent(SwitchCell);