mirror of
https://github.com/status-im/react-native.git
synced 2025-02-08 23:53:27 +00:00
cec5360f1b
Summary: Some of the examples relied on the fact that TextInput wasn't a controlled component before. This introduces a new `initialValue` prop which behaves the way the `value` prop used to - that is, you could type without updating it and it wouldn't get reset, thus acting as just an initial value - and switches the examples to use it where appropriate.