mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-14 09:59:26 +08:00
17 lines
450 B
TypeScript
17 lines
450 B
TypeScript
import * as React from 'react';
|
|
import { ThemeShape } from '../types';
|
|
|
|
export interface CheckboxProps {
|
|
status: 'checked' | 'unchecked' | 'indeterminate';
|
|
disabled?: boolean;
|
|
onPress?: () => any;
|
|
uncheckedColor?: string;
|
|
color?: string;
|
|
theme?: ThemeShape;
|
|
}
|
|
|
|
export declare class Checkbox extends React.Component<CheckboxProps> {
|
|
static Android: React.ComponentType<CheckboxProps>;
|
|
static IOS: React.ComponentType<CheckboxProps>;
|
|
}
|