fix(date-picker): type locale prop using flatpickr types (#906)

Fixes #855
This commit is contained in:
Eric Liu 2021-11-12 14:36:46 -08:00 committed by GitHub
commit a308c89e42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 17 deletions

View file

@ -44,7 +44,10 @@
*/
export let minDate = null;
/** Specify the locale */
/**
* Specify the locale
* @type {import("flatpickr/dist/types/locale").CustomLocale | import("flatpickr/dist/types/locale").key}
*/
export let locale = "en";
/** Set to `true` to use the short variant */