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' ;
2
2
import { Text } from '@react-native-ama/react-native' ;
3
3
import * as React from 'react' ;
4
4
import { ScrollView , StyleSheet } from 'react-native' ;
Original file line number Diff line number Diff line change 3
3
import { isFocused } from '@react-native-ama/internal' ;
4
4
5
5
import {
6
- FormActions ,
6
+ type FormActions ,
7
7
Form as FormProvider ,
8
8
type FormProps ,
9
9
} 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' ;
13
13
14
14
type FormComponent = React . FunctionComponent < FormProps > & {
15
15
Submit : ( props : FormSubmitProps ) => JSX . Element ;
You can’t perform that action at this time.
0 commit comments