From 5f4611d65e40eae3ca6191a15f68d69ea5a1c4cb Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Tue, 20 Jul 2021 21:24:52 +0300 Subject: WIP --- app/components/checkbox/checkbox.props.ts | 44 ------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 app/components/checkbox/checkbox.props.ts (limited to 'app/components/checkbox/checkbox.props.ts') diff --git a/app/components/checkbox/checkbox.props.ts b/app/components/checkbox/checkbox.props.ts deleted file mode 100644 index 4a212e3..0000000 --- a/app/components/checkbox/checkbox.props.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { StyleProp, ViewStyle } from 'react-native' -import { TxKeyPath } from '../../i18n' - -export interface CheckboxProps { - /** - * Additional container style. Useful for margins. - */ - style?: StyleProp - - /** - * Additional outline style. - */ - outlineStyle?: StyleProp - - /** - * Additional fill style. Only visible when checked. - */ - fillStyle?: StyleProp - - /** - * Is the checkbox checked? - */ - value?: boolean - - /** - * The text to display if there isn't a tx. - */ - text?: string - - /** - * The i18n lookup key. - */ - tx?: TxKeyPath - - /** - * Multiline or clipped single line? - */ - multiline?: boolean - - /** - * Fires when the user tabs to change the value. - */ - onToggle?: (newValue: boolean) => void -} -- cgit v1.2.3