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.18 kB
import { DateRangePickerProps } from './interfaces'; type NormalizedTimeOffset = { startDate: number; endDate: number; } | { startDate: undefined; endDate: undefined; }; export declare function formatValue(value: null | DateRangePickerProps.Value, { timeOffset, monthOnly, dateOnly }: { timeOffset: NormalizedTimeOffset | null; monthOnly: boolean; dateOnly: boolean; }): null | DateRangePickerProps.Value; export declare function getDefaultMode(value: null | DateRangePickerProps.Value, relativeOptions: readonly DateRangePickerProps.RelativeOption[], rangeSelectorMode: DateRangePickerProps.RangeSelectorMode): 'relative' | 'absolute'; export declare function splitAbsoluteValue(value: null | DateRangePickerProps.AbsoluteValue, hideTime?: boolean): DateRangePickerProps.PendingAbsoluteValue; export declare function joinAbsoluteValue(value: DateRangePickerProps.PendingAbsoluteValue, hideTime?: boolean): DateRangePickerProps.AbsoluteValue; export declare function formatInitialValue(value: null | DateRangePickerProps.Value, dateOnly: boolean, monthOnly: boolean, normalizedTimeOffset: NormalizedTimeOffset): DateRangePickerProps.Value | null; export {};