Files
react-native-paper/typings/components/Button.d.ts
2019-02-25 19:03:29 +01:00

20 lines
585 B
TypeScript

import * as React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { ThemeShape, IconSource } from '../types';
import { TouchableRippleProps } from './TouchableRipple';
export interface ButtonProps extends TouchableRippleProps {
mode?: 'text' | 'outlined' | 'contained';
color?: string;
dark?: boolean;
compact?: boolean;
loading?: boolean;
icon?: IconSource;
uppercase?: boolean;
contentStyle?: StyleProp<ViewStyle>;
style?: StyleProp<ViewStyle>;
theme?: ThemeShape;
}
export declare class Button extends React.Component<ButtonProps> {}