diff --git a/README.md b/README.md index f0f1f4cf..c045af24 100644 --- a/README.md +++ b/README.md @@ -150,37 +150,13 @@ export default () => { | `confirmText` | Modal only: Confirm button text. | | `cancelText` | Modal only: Cancel button text. | | `theme` | Modal only: The theme of the modal. `"light"`, `"dark"`, `"auto"`. Defaults to `"auto"`. | +| `buttonColor` | Color of the confirm and cancel buttons. (android modal only) | | date picker button colors on android | +| `dividerColor` | Color of the divider / separator. (android only) | | react native date picker divider separator color | | `onStateChange` | Spinner state change handler. Triggered on changes between "idle" and "spinning" state (Android inline only) | -## Additional android styling +## Font size -There are some additional styling possibilities for the "androidNative" picker variant. - -### Divider color - -react native date picker divider separator color - -To change the divider color, open `styles.xml` and place this code right above the ``. - -```xml - -``` - -### Button colors - -date picker button colors on android - -To change the confirm and cancel button colors. Open `styles.xml` and place this code within your theme. - -```xml - #dd00ff -``` - -### Font size - -To change the font size on Android `nativeAndroid` variant. Open `styles.xml` and place this code right above the ``. The font size is not possible to change in iOS out of the box, but there are some [iOS workarounds](https://github.com/henninghall/react-native-date-picker/discussions/171). +To change the font size on Android. Open `styles.xml` and place this code right above the ``. The font size is not possible to change in iOS out of the box, but there are some [iOS workarounds](https://github.com/henninghall/react-native-date-picker/discussions/171). ```xml