dify-components
Version:
This is a modern component library template based on Turborepo+Vue 3.5+TypeScript.
14 lines (11 loc) • 327 B
text/typescript
export type ButtonType = 'primary' | 'success' | 'warning' | 'danger' | 'info';
export type ButtonSize = 'small' | 'medium' | 'large';
export interface ButtonProps {
type?: ButtonType;
size?: ButtonSize;
disabled?: boolean;
round?: boolean;
}
export interface ButtonEmits {
(e: 'click', event: MouseEvent): void;
}