mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-13 09:34:40 +08:00
* fix: connect ts declaration with @types/react-native * fix: ts declaration * fix: ts declaration
16 lines
553 B
TypeScript
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>;
|
|
}
|