From 5f4611d65e40eae3ca6191a15f68d69ea5a1c4cb Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Tue, 20 Jul 2021 21:24:52 +0300 Subject: WIP --- app_expo/components/form-row/form-row.props.tsx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 app_expo/components/form-row/form-row.props.tsx (limited to 'app_expo/components/form-row/form-row.props.tsx') diff --git a/app_expo/components/form-row/form-row.props.tsx b/app_expo/components/form-row/form-row.props.tsx new file mode 100644 index 0000000..55b632e --- /dev/null +++ b/app_expo/components/form-row/form-row.props.tsx @@ -0,0 +1,23 @@ +import * as React from 'react' +import { StyleProp, ViewStyle } from 'react-native' +import { FormRowPresets } from './form-row.presets' + +/** + * The properties you can pass to FormRow. + */ +export interface FormRowProps { + /** + * Children components. + */ + children?: React.ReactNode + + /** + * Override the container style... useful for margins and padding. + */ + style?: StyleProp + + /** + * The type of border. + */ + preset: FormRowPresets +} -- cgit v1.2.3