Files
react-native-paper/typings/components/Checkbox.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

16 lines
553 B
TypeScript

import * as React from 'react';
import { TouchableHighlightProps, TouchableNativeFeedbackProps } from 'react-native';
import { ThemeShape } from '../types';
export interface CheckboxProps extends TouchableHighlightProps, TouchableNativeFeedbackProps {
status: 'checked' | 'unchecked' | 'indeterminate';
uncheckedColor?: string;
color?: string;
theme?: ThemeShape;
}
export declare class Checkbox extends React.Component<CheckboxProps> {
static Android: React.ComponentType<CheckboxProps>;
static IOS: React.ComponentType<CheckboxProps>;
}