You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
772 B

2 years ago
# datepicker
2 years ago
Datepicker
2 years ago
Source: [https://gitea.node001.net/tiny-components/datepicker](https://gitea.node001.net/tiny-components/datepicker)
Mirror: [https://github.com/node001-net/tiny-components-datepicker](https://github.com/node001-net/tiny-components-datepicker)
2 years ago
2 years ago
![demo](example/demo.gif)
2 years ago
## Installation
Setup this registry in your project .npmrc file:
```
@tiny-components:registry=https://gitea.node001.net/api/packages/tiny-components/npm/
```
Install with npm or yarn
```
2 years ago
npm i --save @tiny-components/datepicker
yarn add @tiny-components/datepicker
2 years ago
```
## Using
```
2 years ago
<tiny-datepicker></tiny-datepicker>
2 years ago
```
## i18n
[List of locales](https://github.com/iamkun/dayjs/tree/dev/src/locale)
```
import de from 'dayjs/locale/de'
dayjs.locale('de')
```