File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,21 @@ import CascadePicker from 'react-native-js-cascade-picker'
2525/ >
2626```
2727
28+ ## API
29+
30+ | Props | Type | Description | Required |
31+ | ------------------- | --------------- | ------------------------------------ | -------- |
32+ | ` options ` | ` Array<Option> ` | | ** Yes** |
33+ | ` pickerText ` | ` string ` | | ** Yes** |
34+ | ` onChange ` | ` Function ` | Returns an ` Option ` . | ** Yes** |
35+ | ` valueSelected ` | ` any ` | A value to match into the ` Option ` s. |
36+ | ` mainColor ` | ` string ` | |
37+ | ` selectedColor ` | ` string ` | Color for the selected item. |
38+ | ` itemColor ` | ` string ` | Color for the items. |
39+ | ` separatorColor ` | ` string ` | Color for the separator. |
40+ | ` selectedTextColor ` | ` string ` | |
41+ | ` optionTextStyle ` | ` any ` | Style for the text option. |
42+
2843## License
2944
3045MIT.
You can’t perform that action at this time.
0 commit comments