/*! 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, ICheckboxProps, Persona, PersonaSize, ThemeProvider, Icon, } from '@fluentui/react-next'; storiesOf('Checkbox Next', 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 using onRenderLabel', () => ( { return ; }} /> )) .addStory('Custom render Checkbox using label render prop', () => ( { return ; }, }} /> )) .addStory('Custom render CheckMark icon', () => ( }} /> )); storiesOf('Checkbox Next 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', () => ( ));