/*! 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 { TextField } from 'office-ui-fabric-react'; storiesOf('TextField', module) .addDecorator(FabricDecoratorFixedWidth) .addDecorator(story => ( {story()} )) .addStory('Root', () => ) .addStory('Placeholder', () => , { rtl: true, }) .addStory('Disabled', () => ) .addStory('Required', () => ) .addStory('Error', () => , { rtl: true }) .addStory('Multiline', () => , { rtl: true }) .addStory('Multiline nonresizable', () => ( )) .addStory('Underlined', () => ) .addStory('Borderless', () => ( )) .addStory( 'Icon', () => ( ), { rtl: true, }, ) .addStory( 'Prefix with Value, Disabled, and Prefix Style-Override', () => ( ), { rtl: true, }, ) .addStory( 'Prefix with Value, Disabled', () => , { rtl: true, }, ) .addStory('Suffix', () => , { rtl: true, });