ant-design-x-vue-next
Version:
Ant Design X for Vue — community continuation aligned with @ant-design/x
15 lines (14 loc) • 534 B
TypeScript
import type { CSSProperties, VNodeChild } from 'vue';
export type CreationAlign = 'start' | 'center' | 'end';
export interface CreationProps {
label?: VNodeChild | (() => VNodeChild);
align?: CreationAlign;
prefixCls?: string;
className?: string;
style?: CSSProperties;
disabled?: boolean;
icon?: VNodeChild | (() => VNodeChild);
onClick?: (event?: MouseEvent) => void;
/** Shortcut key icons shown next to the default label (from Conversations.shortcutKeys). */
shortcutKeysIcon?: string[];
}