File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
examples/shared/src/screens Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @react-native-ama/forms ' : patch
3+ ---
4+
5+ Fixed babel transform warning on forms type import/exports (@babel/plugin-transform-typescript )
Original file line number Diff line number Diff line change 1- import { Form , FormActions , TextInput } from '@react-native-ama/forms' ;
1+ import { Form , type FormActions , TextInput } from '@react-native-ama/forms' ;
22import { Text } from '@react-native-ama/react-native' ;
33import * as React from 'react' ;
44import { ScrollView , StyleSheet } from 'react-native' ;
Original file line number Diff line number Diff line change 33import { isFocused } from '@react-native-ama/internal' ;
44
55import {
6- FormActions ,
6+ type FormActions ,
77 Form as FormProvider ,
88 type FormProps ,
99} from './components/Form' ;
10- import { FormField , FormFieldProps } from './components/FormField' ;
11- import { FormSubmit , FormSubmitProps } from './components/FormSubmit' ;
12- import { FormSwitch , FormSwitchProps } from './components/FormSwitch' ;
10+ import { FormField , type FormFieldProps } from './components/FormField' ;
11+ import { FormSubmit , type FormSubmitProps } from './components/FormSubmit' ;
12+ import { FormSwitch , type FormSwitchProps } from './components/FormSwitch' ;
1313
1414type FormComponent = React . FunctionComponent < FormProps > & {
1515 Submit : ( props : FormSubmitProps ) => JSX . Element ;
You can’t perform that action at this time.
0 commit comments