summaryrefslogtreecommitdiff
path: root/app/components/form-row/form-row.props.tsx
blob: f0102061c482de5a78bf3b65a28b3aef6ca389ed (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
}