UNPKG

react-native-form-model

Version:

An easily testable and opinionated React Native form model builder written in pure JavaScript.

22 lines (21 loc) 684 B
import React from 'react'; import { StyleProp, ViewProps, ViewStyle } from 'react-native'; export interface RowProps extends ViewProps { onPress?: (event: any) => void; onDelete?: () => void; confirmingDelete?: boolean; rightAccessory?: (props: ViewProps) => React.ReactNode; disabled?: boolean; children?: any; showDelete?: boolean; isTop?: boolean; isBottom?: boolean; isSingle?: boolean; style?: StyleProp<ViewStyle>; rippleColor?: string; /** If true, content has no margins or padding. */ fillContent?: boolean; contentContainerStyle?: StyleProp<ViewStyle>; } declare const Row: React.FC<RowProps>; export default Row;