UNPKG

flowbite-svelte

Version:

Flowbite components for Svelte

43 lines (42 loc) 1.32 kB
import type { DatepickerProps } from ".."; /** * [Go to docs](https://flowbite-svelte.com/) * ## Type * [DatepickerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L457) * ## Props * @prop value = $bindable() * @prop defaultDate = null * @prop range = false * @prop rangeFrom = $bindable() * @prop rangeTo = $bindable() * @prop availableFrom = null * @prop availableTo = null * @prop locale = "default" * @prop translationLocale = locale * @prop firstDayOfWeek = 0 * @prop dateFormat * @prop placeholder = "Select date" * @prop disabled = false * @prop required = false * @prop inputClass = "" * @prop color = "primary" * @prop inline = false * @prop autohide = true * @prop showActionButtons = false * @prop title = "" * @prop onselect * @prop onclear * @prop onapply * @prop btnClass * @prop inputmode = "none" * @prop classes * @prop monthColor = "alternative" * @prop monthBtnSelected = "bg-primary-500 text-white" * @prop monthBtn = "text-gray-700 dark:text-gray-300" * @prop class: className * @prop elementRef = $bindable() * @prop actionSlot */ declare const Datepicker: import("svelte").Component<DatepickerProps, {}, "value" | "rangeFrom" | "rangeTo" | "elementRef">; type Datepicker = ReturnType<typeof Datepicker>; export default Datepicker;