UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

33 lines (32 loc) 902 B
import * as React from 'react'; import tsProps from './PropsType'; export default class Button extends React.Component<tsProps, any> { static propTypes: { pressIn: React.Requireable<any>; onPressIn: React.Requireable<any>; onPressOut: React.Requireable<any>; size: React.Requireable<any>; }; static defaultProps: { pressIn: boolean; size: string; disabled: boolean; inline: boolean; loading: boolean; onClick: (x: any) => void; }; mTextColor: string; mBorderColor: string; mTextHighlightColor: string; mBorderHighlightColor: string; constructor(props: any); pressTextColor(): { color: string; }; pressBorderColor(): { borderColor: string; }; onPressIn: (...args: any[]) => void; onPressOut: (...args: any[]) => void; render(): JSX.Element; }