mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-17 04:09:48 +08:00
* fix: connect ts declaration with @types/react-native * fix: ts declaration * fix: ts declaration
12 lines
370 B
TypeScript
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> {}
|