diff --git a/apps/vr-tests/src/stories/NewButton.stories.tsx b/apps/vr-tests/src/stories/NewButton.stories.tsx new file mode 100644 index 0000000000000..ce5e5173367f3 --- /dev/null +++ b/apps/vr-tests/src/stories/NewButton.stories.tsx @@ -0,0 +1,293 @@ +/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. */ +import * as React from 'react'; +import Screener, { Steps } from 'screener-storybook/src/screener'; +import { storiesOf } from '@storybook/react'; +import { FabricDecorator } from '../utilities'; +import { + Button, + IButtonProps, + MenuButton, + IMenuButtonProps, + SplitButton, + DefaultButton, + PrimaryButton, + ActionButton, + BaseButton, + CommandBarButton, + CompoundButton, + IconButton, + MessageBarButton +} from '@uifabric/experiments'; +import { Stack, Text } from 'office-ui-fabric-react'; + +const baseProps: IButtonProps = { + icon: 'AddFriend', + content: 'Button' +}; + +const menuProps: IMenuButtonProps = { + content: 'Button', + menu: { + items: [ + { + key: 'a', + name: 'Item a' + }, + { + key: 'b', + name: 'Item b' + } + ] + } +}; + +storiesOf('Button', module) + .addDecorator(FabricDecorator) + .addDecorator(story => ( + + {story()} + + )) + .addStory('Default', () => + ), + { rtl: true } + ); + +storiesOf('Button - Circular', module) + .addDecorator(FabricDecorator) + .addDecorator(story => ( + + {story()} + + )) + .addStory('Default', () =>