123456789101112131415161718192021222324252627 |
- import OnboardingPanel from 'sentry/components/onboardingPanel';
- import {IconFire} from 'sentry/icons';
- export default {
- title: 'Views/Onboarding Panel',
- component: OnboardingPanel,
- };
- export const Default = () => {
- return (
- <OnboardingPanel image={<IconFire size="200px" />}>
- <h3>A title</h3>
- <p>Some content to show in the onboarding state.</p>
- </OnboardingPanel>
- );
- };
- export const NoImage = () => {
- return (
- <OnboardingPanel>
- <h3>A title</h3>
- <p>Some content to show in the onboarding state.</p>
- </OnboardingPanel>
- );
- };
- Default.storyName = 'Onboarding Panel';
|