https://github.com/devel0/example-material-pickers
example material-ui pickers
https://github.com/devel0/example-material-pickers
datetime-picker example material-ui react typescript
Last synced: about 2 months ago
JSON representation
example material-ui pickers
- Host: GitHub
- URL: https://github.com/devel0/example-material-pickers
- Owner: devel0
- Created: 2020-01-16T02:41:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-01T10:51:21.000Z (almost 6 years ago)
- Last Synced: 2025-04-02T00:32:04.778Z (about 1 year ago)
- Topics: datetime-picker, example, material-ui, react, typescript
- Language: TypeScript
- Homepage:
- Size: 773 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# example-material-pickers
## introduction
In order to make date pickers to work there are some library to install at specific version as described in [official project documentation](https://material-ui-pickers.dev/getting-started/installation).
This example would demostrate how to make the [example](https://material-ui.com/components/pickers/#material-ui-pickers) running from scratch creating the solution and installing libraries.
the key point is the version of `@date-io/date-fns` that currently works with pinned `@1.x` version.
[live demo](https://codesandbox.io/s/github/devel0/example-material-pickers)
## start
```sh
cd example-material-pickers
yarn install
yarn start
```
## how this project was built
```sh
yarn create react-app example-material-pickers --template typescript
yarn add @material-ui/core @material-ui/pickers @date-io/date-fns@1.x date-fns
```