antd-mobile
Version:
基于 React 的移动设计规范实现
37 lines (36 loc) • 973 B
TypeScript
/// <reference types="react" />
import React from 'react';
export interface ButtonProps {
type?: 'primary' | 'warning' | 'ghost';
size?: 'large' | 'small';
activeStyle?: boolean | Object;
disabled?: boolean;
onClick?: (x?: any) => void;
loading?: boolean;
delayPressIn?: number;
delayPressOut?: number;
style?: React.CSSProperties;
prefixCls?: string;
className?: string;
role?: string;
inline?: boolean;
across?: boolean;
icon?: string;
activeClassName?: string;
onPressIn?: (x?: any) => void;
onPressOut?: (x?: any) => void;
onShowUnderlay?: (x?: any) => void;
onHideUnderlay?: (x?: any) => void;
styles?: {
primaryRawText?: {};
warningRawText?: {};
ghostRawText?: {};
largeRawText?: {};
smallRawText?: {};
disabledRawText?: {};
wrapperStyle?: {};
disabledRaw?: {};
container?: {};
indicator?: {};
};
}