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
Copy file name to clipboardExpand all lines: README.md
+6-34
Original file line number
Diff line number
Diff line change
@@ -21,41 +21,11 @@ You can find them in the example.
21
21
22
22
## Update History
23
23
24
-
### v0.4.2
25
-
- Add `animated` option. #44
26
-
- Add `showsVerticalScrollIndicator` option
27
-
- Add landscape orientation support. #45
24
+
### v0.4.3
25
+
- Add ability to style dropdown text. See `dropdownTextStyle` and `dropdownTextHighlightStyle`. Thanks to @evansiroky
26
+
- Fix `TouchableWithNativeFeedback` should be `TouchableNativeFeedback`
28
27
29
-
### v0.4.1
30
-
- Fix bug: [\#27](https://github.com/sohobloo/react-native-modal-dropdown/issues/27) Fix a flex style bug.
31
-
- Enhancement: [\#26](https://github.com/sohobloo/react-native-modal-dropdown/issues/26) Support object type of options.
32
-
33
-
### v0.4.0
34
-
- New feature:
35
-
[\#10](https://github.com/sohobloo/react-native-modal-dropdown/issues/10) Support touchable component in `renderRow`.
36
-
- New feature: [\#11](https://github.com/sohobloo/react-native-modal-dropdown/issues/11) Open `renderSeparator` prop API.
37
-
- New feature: Add `adjustFrame` prop for user to adjust the frame style of the dropdown in case the component calculate a mistake frame. \(refer to [#9](https://github.com/sohobloo/react-native-modal-dropdown/issues/5)\)\([code sample](https://github.com/sohobloo/react-native-modal-dropdown/commit/0861d0a1bbe11c221696e8c664ef03ed475a3849#diff-f8c408fd257ff44ce4b01e5f8422b1e1)\)
38
-
- Enhancement: Compatible with `react-native` v0.36.0 which has a [break change](https://github.com/facebook/react-native/commit/0a9b6bedb312eba22c5bc11498b1cc41363e5f27) causes the default button with zero size.
39
-
- Enhancement: [\#16](https://github.com/sohobloo/react-native-modal-dropdown/issues/16) Prevent from warnings if array of styles is used instead of stylesheet or object. Thanks to @NikolaBorislavovHristov .
40
-
41
-
### v0.3.2
42
-
- Fix bug: [\#9](https://github.com/sohobloo/react-native-modal-dropdown/issues/9)*undefined is not an object (evaluating '_this.updatePosition.bind')* in v0.3.1.
43
-
- Fix bug: Wrong width of dropdown in very few cases.
44
-
45
-
### v0.3.1
46
-
- Fix bug: [\#6](https://github.com/sohobloo/react-native-modal-dropdown/issues/6) Can not specify `height` style for `dropdownStyle`.
47
-
- Remove `updatePosition` function.
48
-
49
-
### v0.3.0
50
-
- Auto update position before show.
51
-
- Mark `updatePosition` function as depreciated. (May be removed in next version.)
52
-
53
-
### v0.2.0
54
-
- Add wrapper / container support
55
-
56
-
Now you can use these component as a wrapper / container. Anything wrapped in it can be the trigger of the dropdown.
`textStyle` | object | Yes | | Style of the button text. **Invalid in wrapper mode.**
102
72
`dropdownStyle` | object | Yes | | Style of the dropdown list.
73
+
`dropdownTextStyle` | object | Yes | | Style of the dropdown option text.
74
+
`dropdownTextHighlightStyle` | object | Yes | | Style of the dropdown selected option text.
103
75
`adjustFrame` | func | Yes | | This is a callback after the frame of the dropdown have been calculated and before showing. You will receive a style object as argument with some of the props like `width``height``top``left` and `right`. Change them to appropriate values that accord with your requirement and **make the new style as the return value of this function**.
104
76
`renderRow` | func | Yes | | Customize render option rows. **Will render a default row if `null`/`undefined`.**
105
77
`renderSeparator` | func | Yes | | Customize render dropdown list separators. **Will render a default thin gray line if `null`/`undefined`.**
0 commit comments