react-native-elements
Version:
React Native Elements & UI Toolkit
33 lines (32 loc) • 1.28 kB
TypeScript
import React from 'react';
import { TextProps, TextStyle, ViewStyle, StyleProp, TouchableOpacityProps } from 'react-native';
import { CheckBoxIconProps } from './CheckBoxIcon';
export declare type CheckBoxProps = TouchableOpacityProps & CheckBoxIconProps & {
Component?: typeof React.Component;
iconRight?: boolean;
title?: string | React.ReactElement<{}>;
titleProps?: TextProps;
center?: boolean;
right?: boolean;
containerStyle?: StyleProp<ViewStyle>;
wrapperStyle?: StyleProp<ViewStyle>;
textStyle?: StyleProp<TextStyle>;
checkedTitle?: string;
fontFamily?: string;
};
declare const CheckBox: React.FunctionComponent<CheckBoxProps>;
export { CheckBox };
declare const _default: React.FunctionComponent<Omit<TouchableOpacityProps & CheckBoxIconProps & {
Component?: typeof React.Component;
iconRight?: boolean;
title?: string | React.ReactElement<{}, string | React.JSXElementConstructor<any>>;
titleProps?: TextProps;
center?: boolean;
right?: boolean;
containerStyle?: StyleProp<ViewStyle>;
wrapperStyle?: StyleProp<ViewStyle>;
textStyle?: StyleProp<TextStyle>;
checkedTitle?: string;
fontFamily?: string;
}, keyof import("../config/ThemeProvider").ThemeProps<T>>>;
export default _default;