diff --git a/migrateToV3.md b/migrateToV3.md index 3dee585c6..4902f6ece 100644 --- a/migrateToV3.md +++ b/migrateToV3.md @@ -22,7 +22,7 @@ Once the update has finished, try your app. It might seem to be working ok but [some props have changed](#whats-new-in-react-datetime-v3) and, even if they don't break your app, your pickers might be behaving a little bit differently. We should better search for the following props in our code and replace them as recommended in the points below: -* Search for `defaultValue` prop in your datetime code. Remame it to `initialValue`. +* Search for `defaultValue` prop in your datetime code. Rename it to `initialValue`. * Search for `defaultViewDate` props and replace them with `initialViewDate`. * Search for `viewMode` props and replace them with `initialViewMode`. * Search for `disableCloseOnClickOutside`. If you are using it, replace it with `closeOnClickOutside={false}`. @@ -57,4 +57,4 @@ Version 3 is a big refactor of react-datetime. We have tried to not to change th ## Contribute react-datetime is made by the community for the community. People like you, interested in contribute, are the key of the project! 🙌🙌🙌 -Have a look at [our contribute page](contribute-home.md) to know how to get started. \ No newline at end of file +Have a look at [our contribute page](contribute-home.md) to know how to get started.