UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

22 lines 1.25 kB
/// <reference types="react" /> import { BaseComponentProps } from '../../internal/base-component'; import { TimeInputProps } from '../../time-input/interfaces'; import { DateRangePickerProps, RangeCalendarI18nStrings } from '../interfaces'; type I18nStrings = Pick<RangeCalendarI18nStrings, 'dateConstraintText' | 'dateTimeConstraintText' | 'monthConstraintText' | 'startMonthLabel' | 'startDateLabel' | 'startTimeLabel' | 'endMonthLabel' | 'endDateLabel' | 'endTimeLabel'>; interface RangeInputsProps extends BaseComponentProps { startDate: string; onChangeStartDate: (value: string) => void; startTime: string; onChangeStartTime: (value: string) => void; endDate: string; onChangeEndDate: (value: string) => void; endTime: string; onChangeEndTime: (value: string) => void; i18nStrings?: I18nStrings; dateOnly: boolean; timeInputFormat: TimeInputProps.Format; granularity?: DateRangePickerProps.Granularity; } export default function RangeInputs({ startDate, onChangeStartDate, startTime, onChangeStartTime, endDate, onChangeEndDate, endTime, onChangeEndTime, i18nStrings, dateOnly, timeInputFormat, granularity, }: RangeInputsProps): JSX.Element; export {}; //# sourceMappingURL=range-inputs.d.ts.map