File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,21 @@ import CascadePicker from 'react-native-js-cascade-picker'
25
25
/ >
26
26
```
27
27
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
+
28
43
## License
29
44
30
45
MIT.
You can’t perform that action at this time.
0 commit comments