import { Meta, Story, Primary, Controls } from '@storybook/blocks';

import * as DateFieldStories from './DateField.stories';

<Meta of={DateFieldStories} />

# DateField

Displays a date, datetime or time using the browser locale (thanks to `Date.toLocaleDateString()`, `Date.toLocaleString()` and `Date.toLocaleTimeString()`). [More information](https://marmelab.com/react-admin/DateField.html).

<Controls />

## Default

<Story of={DateFieldStories.Default} />

## Custom

<Story of={DateFieldStories.Custom} />