mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
e11d496e9d
Summary: Follow up to 9ec95673909beac7798f589e0e9821b4225f8fa9 Closes https://github.com/facebook/react-native/pull/16759 Differential Revision: D6285219 Pulled By: hramos fbshipit-source-id: 7012d257a5a6cff06cb2d94203a9379e4b7e3c4e
920 B
920 B
id | title | layout | category | permalink | next | previous |
---|---|---|---|---|---|---|
picker-item | Picker.Item | docs | components | docs/picker-item.html | pickerios | picker |
Individual selectable item in a Picker.
Props
Reference
Props
label
Text to display for this item.
Type | Required |
---|---|
string | Yes |
color
The value to be passed to picker's onValueChange
callback when this item is selected. Can be a string or an integer.
Type | Required |
---|---|
color | No |
testID
Used to locate the item in end-to-end tests.
Type | Required |
---|---|
string | No |
value
Color of this item's text.
Type | Required | Platform |
---|---|---|
any | No | Android |