@spark-web/date-picker
Version:
--- title: DatePicker storybookPath: forms-date-picker isExperimentalPackage: true ---
11 lines (10 loc) • 636 B
TypeScript
import type { TextInputProps } from '@spark-web/text-input';
import type { MouseEventHandler, RefObject } from 'react';
export declare type DateInputProps = Omit<TextInputProps, 'children' | 'inputMode' | 'pattern' | 'type'> & {
buttonRef: RefObject<HTMLButtonElement>;
buttonOnClick: MouseEventHandler<HTMLButtonElement>;
};
export declare const DateInput: import("react").ForwardRefExoticComponent<Omit<TextInputProps, "children" | "pattern" | "inputMode" | "type"> & {
buttonRef: RefObject<HTMLButtonElement>;
buttonOnClick: MouseEventHandler<HTMLButtonElement>;
} & import("react").RefAttributes<HTMLInputElement>>;