Skip to content

Commit b0eb48f

Browse files
authored
Adding the prop allowFontScaling
1 parent 5e42ef3 commit b0eb48f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ You can check [index.js](https://github.com/xgfe/react-native-datepicker/blob/ma
8686
| iconComponent | - | `element` | Set the custom icon |
8787
| disabled | false | `boolean` | Controller whether or not disable the picker |
8888
| is24Hour | - | `boolean` | Set the TimePicker is24Hour flag. The default value depend on `format`. Only work in Android |
89+
| allowFontScaling | true | `boolean` | Set to false to disable font scaling for every text component |
8990
| placeholder | '' | `string` | The placeholder show when this.props.date is falsy |
9091
| onDateChange | - | `function` | This is called when the user confirm the picked date or time in the UI. The first and only argument is a date or time string representing the new date and time formatted by [moment.js](http://momentjs.com/) with the given format property. |
9192
| onOpenModal | - | `function` | This is called when the DatePicker Modal open. |

0 commit comments

Comments
 (0)