Skip to content

Commit 78d8052

Browse files
authored
Update API.md (#217)
Added missing documentation for InputComponent prop.
1 parent 84ae2d5 commit 78d8052

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

API.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- [`cellCount?: number`](#cellcount-number)
88
- [`renderCell: (options: {symbol: string, index: number, isFocused: boolean}) => ReactElement`](#rendercell-options-symbol-string-index-number-isfocused-boolean--reactelement)
99
- [`RootComponent?: ComponentType<any>`](#rootcomponent-componenttypeany)
10+
- [`InputComponent?: ComponentType<any>`](#inputcomponent-componenttypeany)
1011
- [`rootStyle?: StyleProp<RootComponent>`](#rootstyle-styleproprootcomponent)
1112
- [`RootProps?: Object`](#rootprops-object)
1213
- [`textInputStyle?: StyleProp<TextStyle>`](#textinputstyle-styleproptextstyle)
@@ -54,6 +55,10 @@ Required function for Cell rendering, will be invoke with next options:
5455

5556
If you want change root component for example using animations `RootComponent={Animated.View}` (optional, default [`View`](https://facebook.github.io/react-native/docs/view))
5657

58+
#### `InputComponent?: ComponentType<any>`
59+
60+
If you want to provide a custom TextInput component that can receive the same props (optional, default [`TextInput`](https://facebook.github.io/react-native/docs/textinput))
61+
5762
#### `rootStyle?: StyleProp<RootComponent>`
5863

5964
Styles for root component (optional)

0 commit comments

Comments
 (0)