import * as React from 'react';
import GuideTooltip from './GuideTooltip';
import Button from '../button/Button';
import FolderShared32 from '../../icon/content/FolderShared32';
import notes from './GuideTooltip.stories.md';
const addSpacing = (component: JSX.Element) =>
{component}
;
export const allOptions = () =>
addSpacing(
}
steps={[1, 3]}
/* eslint-disable no-console */
primaryButtonProps={{ children: 'Next', onClick: () => console.log('next') }}
secondaryButtonProps={{ children: 'Back', onClick: () => console.log('back') }}
/* eslint-enable no-console */
>
example
,
);
allOptions.story = {
name: 'body, icon, steps, title, next button, previous button',
};
export const noButtons = () =>
addSpacing(
}
steps={[1, 3]}
>
example
,
);
noButtons.story = {
name: 'body, icon, steps, title',
};
export const onlyTitleBody = () =>
addSpacing(
example
,
);
onlyTitleBody.story = {
name: 'only title and body',
};
export const onlyBody = () =>
addSpacing(
example
,
);
onlyBody.story = {
name: 'only body',
};
export default {
title: 'Components|GuideTooltip',
component: GuideTooltip,
parameters: {
notes,
},
};