summaryrefslogtreecommitdiff
path: root/app_expo/components/form-row/form-row.props.tsx
blob: 55b632ed9976bda90f7f2678b6f5804c41426295 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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<ViewStyle>

  /**
   * The type of border.
   */
  preset: FormRowPresets
}