@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
40 lines • 1.64 kB
TypeScript
import { CalendarProps } from '../calendar/interfaces';
import { SomeRequired } from '../internal/types';
import { DateRangePickerProps } from './interfaces';
interface DateRangePickerDropdownProps extends Pick<Required<DateRangePickerProps>, 'locale' | 'isDateEnabled' | 'isValidRange' | 'value' | 'relativeOptions' | 'showClearButton' | 'dateOnly' | 'rangeSelectorMode'>, SomeRequired<Pick<DateRangePickerProps, 'startOfWeek' | 'getTimeOffset' | 'absoluteFormat' | 'timeInputFormat' | 'dateInputFormat' | 'timeOffset' | 'ariaLabelledby' | 'ariaDescribedby' | 'i18nStrings' | 'customRelativeRangeUnits' | 'dateDisabledReason'>, 'absoluteFormat' | 'timeInputFormat'>, Pick<CalendarProps, 'granularity'> {
onClear: () => void;
onApply: (value: null | DateRangePickerProps.Value) => DateRangePickerProps.ValidationResult;
onDropdownClose: () => void;
isSingleGrid: boolean;
customAbsoluteRangeControl: DateRangePickerProps.AbsoluteRangeControl | undefined;
renderRelativeRangeContent: DateRangePickerProps.RelativeRangeControl | undefined;
}
export declare function DateRangePickerDropdown({
locale,
startOfWeek,
isDateEnabled,
dateDisabledReason,
isValidRange,
value,
onClear: clearValue,
onApply: applyValue,
getTimeOffset,
timeOffset,
onDropdownClose,
relativeOptions,
showClearButton,
isSingleGrid,
i18nStrings,
dateOnly,
absoluteFormat,
timeInputFormat,
dateInputFormat,
rangeSelectorMode,
ariaLabelledby,
ariaDescribedby,
customAbsoluteRangeControl,
customRelativeRangeUnits,
renderRelativeRangeContent,
granularity
}: DateRangePickerDropdownProps): JSX.Element;
export {};