UNPKG

@hhgtech/hhg-components

Version:
28 lines (27 loc) 1.11 kB
import React, { CSSProperties, DetailsHTMLAttributes } from 'react'; export type InputDateProps = { locale?: string; defaultValue?: Date; value?: Date; onChange?: (value: Date | null | string, valueString?: string) => void; autoComplete?: 'on' | 'off'; error?: boolean; disabled?: boolean; labelTuples?: string[]; placeholderTuples?: string[]; className?: string; style?: CSSProperties; } & Pick<DetailsHTMLAttributes<HTMLInputElement>, 'id' | 'name' | 'onBlur' | 'onFocus'> & DataAttributes; export declare const InputDate: React.ForwardRefExoticComponent<{ locale?: string; defaultValue?: Date; value?: Date; onChange?: (value: Date | null | string, valueString?: string) => void; autoComplete?: 'on' | 'off'; error?: boolean; disabled?: boolean; labelTuples?: string[]; placeholderTuples?: string[]; className?: string; style?: CSSProperties; } & Pick<React.DetailsHTMLAttributes<HTMLInputElement>, "id" | "name" | "onBlur" | "onFocus"> & DataAttributes & React.RefAttributes<HTMLDivElement>>;