ant-design-x-vue-next
Version:
Ant Design X for Vue — community continuation aligned with @ant-design/x
21 lines (20 loc) • 629 B
TypeScript
import type { CSSProperties, VNodeChild } from 'vue';
type SemanticType = 'root' | 'content' | 'icon' | 'title';
export interface SenderSwitchProps {
prefixCls?: string;
rootClassName?: string;
checkedChildren?: VNodeChild;
unCheckedChildren?: VNodeChild;
value?: boolean;
defaultValue?: boolean;
icon?: VNodeChild;
loading?: boolean;
disabled?: boolean;
classNames?: Partial<Record<SemanticType, string>>;
styles?: Partial<Record<SemanticType, CSSProperties>>;
}
/** Align React Sender.Switch ref. */
export interface SenderSwitchRef {
nativeElement: HTMLDivElement;
}
export {};