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

24 lines 897 B
import { CalendarProps } from '../../calendar/interfaces'; import { DateRangePickerProps } from '../interfaces'; interface RelativeRangePickerProps extends Pick<CalendarProps, 'granularity'> { dateOnly: boolean; options: ReadonlyArray<DateRangePickerProps.RelativeOption>; initialSelection: DateRangePickerProps.RelativeValue | null; onChange: (range: DateRangePickerProps.RelativeValue) => void; i18nStrings?: DateRangePickerProps.I18nStrings; isSingleGrid: boolean; customUnits?: DateRangePickerProps.TimeUnit[]; renderRelativeRangeContent?: DateRangePickerProps.RelativeRangeControl; } export default function RelativeRangePicker({ dateOnly, options: clientOptions, initialSelection: initialRange, onChange: onChangeRangeSize, i18nStrings, isSingleGrid, customUnits, granularity, renderRelativeRangeContent }: RelativeRangePickerProps): JSX.Element; export {};