@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
15 lines • 810 B
TypeScript
/// <reference types="react" />
import { DateRangePickerProps } from '../interfaces';
interface RelativeRangePickerProps {
dateOnly: boolean;
options: ReadonlyArray<DateRangePickerProps.RelativeOption>;
initialSelection: DateRangePickerProps.RelativeValue | null;
onChange: (range: DateRangePickerProps.RelativeValue) => void;
i18nStrings?: DateRangePickerProps.I18nStrings;
isSingleGrid: boolean;
customUnits?: DateRangePickerProps.TimeUnit[];
granularity?: DateRangePickerProps.Granularity;
}
export default function RelativeRangePicker({ dateOnly, options: clientOptions, initialSelection: initialRange, onChange: onChangeRangeSize, i18nStrings, isSingleGrid, customUnits, granularity, }: RelativeRangePickerProps): JSX.Element;
export {};
//# sourceMappingURL=index.d.ts.map