import * as React from 'react'; import Screener from 'screener-storybook/src/screener'; import { storiesOf } from '@storybook/react'; import { FabricDecorator } from '../utilities'; import { Coachmark, DirectionalHint, TeachingBubbleContent, Fabric } from '@fluentui/react-next'; import { useId } from '@uifabric/react-hooks'; import { DefaultButton } from 'office-ui-fabric-react'; const CoachmarkUsage = ({ isCollapsed = true }: { isCollapsed?: boolean }) => { const targetId = useId(); return ( <>
Welcome to the land of Coachmarks! ); }; storiesOf('Coachmark Next', module) .addDecorator(FabricDecorator) .addDecorator(story => // prettier-ignore {story()} , ) .addStory('Collapsed', () => ( )) .addStory('Expanded', () => ( ));