You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Added example using overridden flatListProps (#261)
* feat: Added example using overridden flatListProps
* feat: Added example using overridden flatListProps
* feat: Added example using overridden flatListProps
---------
Co-authored-by: Dawid Gierdal <dawid.gierdal@mobilereality.pl>
Copy file name to clipboardExpand all lines: website/docs/api/select.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ hide_table_of_contents: true
7
7
8
8
import {
9
9
OptionsPropSnackLink,
10
+
OverriddenFlatListPropsSnackLink,
10
11
Animation,
11
12
Clearable,
12
13
CloseOptionsListOnSelect,
@@ -133,7 +134,7 @@ The `Select` component has only one required prop, which is the `options` prop.
133
134
|`backdropProps`|`Omit<TouchableWithoutFeedbackProps, 'onPress'>`| Override the backdrop element props. | To Do |
134
135
|`clearOptionButtonProps`|`Omit<ViewProps, 'style'`\|`'onPress'>`| Override the clear option button props. | To Do |
135
136
|`clearOptionImageProps`|`Omit<ImageProps, 'style'>`| Override the clear option image props. | To Do |
136
-
|`flatListProps`|`Omit<FlatListProps<OptionType>, 'ref'`\|`'data'`\|`'getItemLayout'`\|`'renderItem'`\|`'keyExtractor'>`| Override the options list props. |To Do|
137
+
|`flatListProps`|`Omit<FlatListProps<OptionType>, 'ref'`\|`'data'`\|`'getItemLayout'`\|`'renderItem'`\|`'keyExtractor'>`| Override the options list props. | <TableExampleexpo={<OverriddenFlatListPropsSnackLink />} />|
137
138
|`noOptionsProps`|`Omit<ViewProps, 'style'>`| Override the no options element props. | To Do |
138
139
|`noOptionsTextProps`|`Omit<TextProps, 'style'>`| Override the no options text props. | To Do |
139
140
|`optionButtonProps`|`Omit<PressableProps, 'ref'`\|`'style'`\|`'onPress'`\|`'accessibilityRole'`\|`'accessibilityState'`\|`'disabled'>`| Override the option button props. | To Do |
0 commit comments