import React from 'react';
import { md, Example, Props, code, AtlassianInternalWarning } from '@atlaskit/docs';
import DateStyledExample from '../examples/01-date-with-click';
import CustomColorExample from '../examples/00-custom-colors';
import CustomFormatExample from '../examples/02-custom-format';
const DateStyledSource = require('!!raw-loader!../examples/01-date-with-click');
const CustomColorSource = require('!!raw-loader!../examples/00-custom-colors');
const CustomFormatSource = require('!!raw-loader!../examples/02-custom-format');
const DateProps = require('!!extract-react-types-loader!../src/components/Date');
const _default_1: any = md`
${()}
This component is the implementation of the Date element in React.
## Usage
${code`import { Date, Color } from '@atlaskit/date';`}
${(
)}
${()}
### You can also use Date lozenge
Lozenge is available in the [ADG3 Lozenge colors](https://atlassian.design/guidelines/product/components/lozenges).
\`color\` prop is optional and has the following option \`'grey' | 'red' | 'blue' | 'green' | 'purple' | 'yellow'\`.
${(
)}
You can also specify custom format for the date. We use [date-fns](https://date-fns.org/). Check out [format function
documentation](https://date-fns.org/v1.29.0/docs/format).
${(
)}
`;
export default _default_1;