UNPKG

react-native-lamantin

Version:

Set of components for https://lamantin.group development

31 lines (30 loc) 811 B
import { PureComponent } from 'react'; import { ViewStyle } from 'react-native'; interface SwitchViewProps { title: string; checked: boolean; description?: string; descriptionUncheked?: string; onChanges: (checked: boolean) => void; style?: ViewStyle; styleSwitch?: ViewStyle; titleStyle?: ViewStyle; descriptionStyle?: ViewStyle; } export declare class SwitchView extends PureComponent<SwitchViewProps> { static defaultProps: { title: null; description: null; descriptionUncheked: null; onChanges: (checked: boolean) => void; checked: boolean; style: {}; styleSwitch: {}; titleStyle: { fontSize: number; fontWeight: string; }; }; render(): JSX.Element; } export {};