File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/default/src/components Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- import React , { PropsWithChildren } from 'react' ;
1
+ import React from 'react' ;
2
2
3
3
import { KeyboardTypeOptions , StyleSheet , TextInput } from 'react-native' ;
4
4
5
- interface InputFieldProps extends PropsWithChildren {
5
+ interface InputFieldProps {
6
6
placeholder ?: string ;
7
7
value ?: string ;
8
8
onChangeText ?: ( text : string ) => void ;
Original file line number Diff line number Diff line change 1
- import React , { PropsWithChildren } from 'react' ;
1
+ import React from 'react' ;
2
2
3
3
import { Text } from 'native-base' ;
4
4
import { StyleSheet , View } from 'react-native' ;
5
5
6
- interface NestedViewProps extends PropsWithChildren {
6
+ interface NestedViewProps {
7
7
children ?: React . ReactNode ;
8
8
depth : number ;
9
9
breadth ?: number ;
You can’t perform that action at this time.
0 commit comments