import { Canvas, Meta, ArgTypes } from '@storybook/addon-docs/blocks'; import * as DateRangePickerStories from '../DateRangePicker.stories';
A date range picker component for selecting a start and end date. Perfect for campaigns, bookings, and time-based filters. <Canvas of={DateRangePickerStories._DocsIntro} sourceState={'shown'} />
Restrict selectable dates using the min and max props.
<Canvas of={DateRangePickerStories._MinMax} sourceState={'shown'} />
The granularity of the date range picker. Options: day, hour, minute, second
<Canvas of={DateRangePickerStories._GranularityDay} sourceState={'shown'} />
Display the calendar inline instead of in a popover. <Canvas of={DateRangePickerStories._Inline} sourceState={'shown'} />