/*! 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 { FabricDecorator } from '../utilities'; import { Checkbox, Persona, PersonaSize } from 'office-ui-fabric-react'; storiesOf('Checkbox', module) .addDecorator(FabricDecorator) .addDecorator(story => // prettier-ignore {story()} , ) .addStory('Unchecked', () => , { rtl: true }) .addStory('Checked', () => ) .addStory('Unchecked disabled', () => ) .addStory('Checked disabled', () => ( )) .addStory('Controlled Indeterminate', () => ( )) .addStory('Controlled Indeterminate disabled', () => ( )) .addStory('Uncontrolled Indeterminate', () => ( )) .addStory('Uncontrolled Indeterminate disabled', () => ( )) .addStory('End', () => , { rtl: true }) .addStory('Multi-line Checkbox', () => ( )) .addStory('Custom render Checkbox', () => ( { return ; }} /> )); storiesOf('Checkbox Indeterminate', module) .addDecorator(FabricDecorator) .addDecorator(story => // prettier-ignore {story()} , ) .addStory('Uncontrolled Indeterminate checkbox', () => ( )) .addStory('Uncontrolled Indeterminate defaultChecked checkbox', () => ( )) .addStory('Controlled Indeterminate checkbox without onChange callback', () => ( )) .addStory('Uncontrolled and Controlled Indeterminate checkbox', () => ( ));