antd-mobile
Version:
基于 React 的移动设计规范实现
16 lines (15 loc) • 376 B
TypeScript
interface ButtonProps {
/** whether button is disabled*/
disabled?: boolean;
size?: 'large' | 'small';
type?: 'primary' | 'warning' | 'ghost';
ghost?: boolean;
inline?: boolean;
loading?: boolean;
style?: {};
onClick?: (x: any) => void;
/** web only */
prefixCls?: string;
touchFeedback?: boolean;
}
export default ButtonProps;