Files
react-native-paper/typings/components/IconButton.d.ts
Shen Junru a87c1dd85b fix: connect ts declaration with @types/react-native (#627)
* fix: connect ts declaration with @types/react-native

* fix: ts declaration

* fix: ts declaration
2018-11-08 10:32:53 +01:00

12 lines
370 B
TypeScript

import * as React from 'react';
import { ThemeShape, IconSource } from '../types';
import { TouchableRipplePropsWithoutChildren } from './TouchableRipple';
export interface IconButtonProps extends TouchableRipplePropsWithoutChildren {
icon: IconSource;
color?: string;
size?: number;
}
export declare class IconButton extends React.Component<IconButtonProps> {}