mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-18 02:19:09 +00:00
chore: restructure project into yarn workspaces, remove next
This commit is contained in:
parent
49e308507e
commit
8d06327c03
266 changed files with 16466 additions and 3350 deletions
|
@ -0,0 +1,25 @@
|
|||
import { UserGuildPermissions } from '../../../../src/common/types';
|
||||
import { mastheadSlugs } from '../../fixtures/storyData';
|
||||
import { ServerSetup } from './ServerSetup';
|
||||
|
||||
export default {
|
||||
title: 'Organisms/Server Setup',
|
||||
component: ServerSetup,
|
||||
};
|
||||
|
||||
export const asAdmin = () => (
|
||||
<ServerSetup
|
||||
guildSlug={{ ...mastheadSlugs[1], permissionLevel: UserGuildPermissions.Admin }}
|
||||
/>
|
||||
);
|
||||
export const asManager = () => (
|
||||
<ServerSetup
|
||||
guildSlug={{
|
||||
...mastheadSlugs[1],
|
||||
permissionLevel: UserGuildPermissions.Manager,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
export const asUser = () => (
|
||||
<ServerSetup guildSlug={{ ...mastheadSlugs[1], permissionLevel: 0 }} />
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue