import {action} from '@storybook/addon-actions'; import Button from 'sentry/components/button'; import GlobalModal from 'sentry/components/globalModal'; import FeatureTourModal from 'sentry/components/modals/featureTourModal'; import {IconEdit} from 'sentry/icons'; export default { title: 'Views/Modals/Feature Tour Modal', component: FeatureTourModal, }; const steps = [ { title: 'How to draw an owl', body:

First get all your sketchbook and pencil.

, }, { title: 'Draw two circles', body: 'Next, draw a circle for the head, and another for the body.', actions: , }, { image: , title: 'Draw the rest of the owl', body: 'Finish off the drawing by adding eyes, feathers and talons.', }, { title: 'All done!', body: 'Great job on drawing your owl.', }, ]; export const FeatureTourModalBasics = () => (
{({showModal}) => }
); FeatureTourModalBasics.storyName = 'Feature Tour Modal'; FeatureTourModalBasics.parameters = { docs: { description: { story: 'A feature tour with multiple steps', }, }, };