@duetds/date-picker
Version:
Duet Date Picker is an open source version of Duet Design System’s accessible date picker.
23 lines (22 loc) • 750 B
TypeScript
import { FunctionalComponent } from "../../stencil-public-runtime";
import { DuetLocalizedText } from "./date-localization";
declare type DatePickerInputProps = {
value: string;
formattedValue: string;
valueAsDate: Date;
localization: DuetLocalizedText;
name: string;
identifier: string;
disabled: boolean;
required: boolean;
role: string;
dateFormatter: Intl.DateTimeFormat;
onClick: (event: MouseEvent) => void;
onInput: (event: InputEvent) => void;
onBlur: (event: FocusEvent) => void;
onFocus: (event: FocusEvent) => void;
buttonRef: (element: HTMLButtonElement) => void;
inputRef: (element: HTMLInputElement) => void;
};
export declare const DatePickerInput: FunctionalComponent<DatePickerInputProps>;
export {};