/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. */ import * as React from 'react'; import Screener from 'screener-storybook/src/screener'; import { storiesOf } from '@storybook/react'; import { FabricDecoratorFixedWidth } from '../utilities'; import { Fabric } from 'office-ui-fabric-react'; import { DatePicker } from 'office-ui-fabric-react'; const date = new Date(2010, 1, 12); storiesOf('DatePicker', module) .addDecorator(FabricDecoratorFixedWidth) .addDecorator(story => ( {story()} )) .addStory( 'Root', () => ( ), { rtl: true }, ) .addStory('Placeholder', () => ( )) .addStory('Allow text input', () => ( )) .addStory('Required', () => ( )) .addStory('Underlined', () => ( )) .addStory('Underlined and Required', () => ( )); storiesOf('DatePicker - No Month Option', module) .addDecorator(FabricDecoratorFixedWidth) .addDecorator(story => ( {story()} )) .addStory('Show Month as Overlay and no Go To Today', () => ( )); storiesOf('DatePicker - Disabled', module) .addDecorator(FabricDecoratorFixedWidth) .addDecorator(story => ( {story()} )) .addStory('Without Label', () => ( )) .addStory('With Label', () => ( )) .addStory('Without Value', () => ( ));