Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Remame' -> 'Rename' typo correction #820

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions migrateToV3.md
Expand Up @@ -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}`.
Expand Down Expand Up @@ -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.
Have a look at [our contribute page](contribute-home.md) to know how to get started.