mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(date-picker): type locale prop using flatpickr types (#906)
Fixes #855
This commit is contained in:
parent
36f6a327b2
commit
a308c89e42
5 changed files with 25 additions and 17 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue