mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
parent
f2493c083d
commit
0b931cafdb
5 changed files with 25 additions and 17 deletions
|
@ -1,8 +1,10 @@
|
|||
<script lang="ts">
|
||||
import { DatePicker, DatePickerSkeleton, DatePickerInput } from "../types";
|
||||
import { Russian } from "flatpickr/dist/l10n/ru.js";
|
||||
</script>
|
||||
|
||||
<DatePicker
|
||||
locale="{Russian}"
|
||||
datePickerType="single"
|
||||
flatpickrProps="{{ static: true }}"
|
||||
on:change
|
||||
|
@ -11,6 +13,7 @@
|
|||
</DatePicker>
|
||||
|
||||
<DatePicker
|
||||
locale="az"
|
||||
on:change="{(e) => {
|
||||
console.log(e.detail);
|
||||
}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue