office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
64 lines • 3.8 kB
JavaScript
import * as React from 'react';
import { DatePickerBasicExample } from './examples/DatePicker.Basic.Example';
import { DatePickerWeekNumbersExample } from './examples/DatePicker.WeekNumbers.Example';
import { DatePickerRequiredExample } from './examples/DatePicker.Required.Example';
import { DatePickerInputExample } from './examples/DatePicker.Input.Example';
import { DatePickerFormatExample } from './examples/DatePicker.Format.Example';
import { DatePickerBoundedExample } from './examples/DatePicker.Bounded.Example';
import { DatePickerStatus } from './DatePicker.checklist';
var DatePickerBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.Basic.Example.tsx');
var DatePickerBasicExampleCodepen = require('!raw-loader!office-ui-fabric-react/lib/codepen/components/DatePicker/DatePicker.Basic.Example.Codepen.txt');
var DatePickerWeekNumbersExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.WeekNumbers.Example.tsx');
var DatePickerRequiredExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.Required.Example.tsx');
var DatePickerInputExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.Input.Example.tsx');
var DatePickerFormatExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.Format.Example.tsx');
var DatePickerBoundedExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/examples/DatePicker.Bounded.Example.tsx');
export var DatePickerPageProps = {
title: 'DatePicker',
componentName: 'DatePicker',
componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/DatePicker',
componentStatus: DatePickerStatus,
examples: [
{
title: 'Default DatePicker',
code: DatePickerBasicExampleCode,
view: React.createElement(DatePickerBasicExample, null),
codepenJS: DatePickerBasicExampleCodepen
},
{
title: 'DatePicker with week numbers',
code: DatePickerWeekNumbersExampleCode,
view: React.createElement(DatePickerWeekNumbersExample, null)
},
{
title: 'DatePicker with required field',
code: DatePickerRequiredExampleCode,
view: React.createElement(DatePickerRequiredExample, null)
},
{
title: 'DatePicker allows input date string',
code: DatePickerInputExampleCode,
view: React.createElement(DatePickerInputExample, null)
},
{
title: 'DatePicker allows dates to be formatted',
code: DatePickerFormatExampleCode,
view: React.createElement(DatePickerFormatExample, null)
},
{
title: 'DatePicker with date boundary (minDate, maxDate)',
code: DatePickerBoundedExampleCode,
view: React.createElement(DatePickerBoundedExample, null)
}
],
propertiesTablesSources: [
require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/DatePicker.types.ts')
],
overview: require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/docs/DatePickerOverview.md'),
bestPractices: '',
dos: require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/docs/DatePickerDos.md'),
donts: require('!raw-loader!office-ui-fabric-react/src/components/DatePicker/docs/DatePickerDonts.md'),
isHeaderVisible: true,
isFeedbackVisible: true
};
//# sourceMappingURL=DatePicker.doc.js.map