mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
21 lines
512 B
TypeScript
21 lines
512 B
TypeScript
import { PopoverBase } from '@roleypoly/design-system/atoms/popover/Popover.styled';
|
|
import * as React from 'react';
|
|
import { mastheadSlugs } from '../../fixtures/storyData';
|
|
import { GuildNav } from './GuildNav';
|
|
|
|
export default {
|
|
title: 'Molecules/Guild Nav',
|
|
component: GuildNav,
|
|
};
|
|
|
|
export const HasGuilds = () => (
|
|
<PopoverBase active>
|
|
<GuildNav guilds={mastheadSlugs} />
|
|
</PopoverBase>
|
|
);
|
|
|
|
export const NoGuilds = () => (
|
|
<PopoverBase active>
|
|
<GuildNav guilds={[]} />
|
|
</PopoverBase>
|
|
);
|