UNPKG

@guardian/threads

Version:
21 lines (20 loc) 655 B
/// <reference types="lodash" /> import { ChangeEventHandler } from 'react'; import { ChipProps } from './abstract/Chip'; import { InputChip } from './abstract/InputChip'; declare type DateChipProps = { dateMode: 'from_start' | 'from_end'; }; declare type DateChipState = { isValidDate: boolean; }; export declare class DateChip extends InputChip<DateChipProps & ChipProps, DateChipState> { state: { isValidDate: boolean; }; debounceCheckValidity: ((text: any) => void) & import("lodash").Cancelable; componentWillUnmount(): void; onChange: ChangeEventHandler<HTMLInputElement>; render(): JSX.Element; } export {};