@jay-js/ui
Version:
A library of UI components for Jay JS with Tailwind CSS and daisyUI.
4 lines (3 loc) • 438 B
TypeScript
import { type TBaseTagMap } from "@jay-js/elements";
import type { TDatePicker } from "./date-picker.types.js";
export declare function DatePicker<T extends TBaseTagMap = "div">({ label, defaultDate = new Date(), value, onSelect, withTime = false, minDate, maxDate, color = "btn-primary", size = "btn-sm", disabled = false, locale = "pt-BR", showToday = true, rangeStart, rangeEnd, ...props }?: TDatePicker<T>): HTMLElementTagNameMap[T];