@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
15 lines (14 loc) • 479 B
TypeScript
import { PressableProps, ViewStyle } from 'react-native';
export interface ButtonPropsType {
type?: 'primary' | 'warning' | 'ghost';
size?: 'large' | 'small';
loading?: boolean;
style?: ViewStyle;
activeStyle?: ViewStyle | false;
underlayColor?: string;
onPress?: PressableProps['onPress'];
onPressIn?: PressableProps['onPressIn'];
onPressOut?: PressableProps['onPressOut'];
onShowUnderlay?: () => void;
onHideUnderlay?: () => void;
}