gg-y-ui
Version:
An enterprise-class UI design language and Vue-based implementation for web
26 lines (18 loc) • 631 B
TypeScript
import { YUIComponent, YUIComponentSize } from './component';
/** Button type */
export type ButtonType = 'default' | 'primary' | 'minor' | 'danger' | 'link' | 'plain';
/** Button Component */
export declare class YButton extends YUIComponent {
/** Button icon, accepts an icon name of YUI icon component */
icon: string;
/** Button size */
size: YUIComponentSize;
/** Button type */
type: ButtonType;
/** Option to fit button width to its parent width */
block: boolean;
/** Disable the button */
disabled: boolean;
/** Determine whether it's loading */
loading: boolean;
}