UNPKG

react-native-ecommerce-components

Version:

A compilation of components to optimize the development of your ecommerce

21 lines (20 loc) 653 B
import React from 'react'; import { StyleProp, ViewStyle, TextStyle } from 'react-native'; type Language = 'en' | 'pt'; interface NewClientProps { onSubmit: (data: Record<string, string>) => void; fields: string[]; title?: string; subTitle?: string; language?: Language; styles?: { container?: StyleProp<ViewStyle>; input?: StyleProp<ViewStyle>; button?: StyleProp<ViewStyle>; buttonText?: StyleProp<TextStyle>; title?: StyleProp<TextStyle>; subTitle?: StyleProp<TextStyle>; }; } declare const NewClient: React.FC<NewClientProps>; export default NewClient;