zarm
Version:
基于 React 的移动端UI库
17 lines (16 loc) • 504 B
TypeScript
import * as React from 'react';
export declare type ButtonTheme = 'default' | 'primary' | 'danger';
export declare type ButtonSize = 'lg' | 'md' | 'sm' | 'xs';
export declare type ButtonShape = 'radius' | 'rect' | 'round' | 'circle';
export interface BaseButtonProps {
theme?: ButtonTheme;
size?: ButtonSize;
shape?: ButtonShape;
block?: boolean;
ghost?: boolean;
shadow?: boolean;
focus?: boolean;
disabled?: boolean;
loading?: boolean;
icon?: React.ReactNode;
}