UNPKG

infinity-forge

Version:
24 lines (23 loc) 761 B
import { RuleSet, Styles } from 'styled-components/dist/types'; import { IToolTipProps } from '../../../../ui/components/tooltip/interfaces.js'; export type LanguageDatePicker = 'en' | 'pt'; export type CustomCalendarStyles = RuleSet<object> | Styles<Object>; export interface IInputDatePicker { mode?: 'month' | 'date' | 'year' | 'timer' | 'timer-date'; language?: LanguageDatePicker; customCalendarStyles?: CustomCalendarStyles; tooltip?: IToolTipProps; date?: { maxDate?: Date; maxDateError?: string; minDate?: Date; datesEnabled?: Date[]; }; range?: boolean; time?: { min: string; max: string; interval: 5 | 10 | 15 | 30 | 60; timesEnabled?: string[]; }; }