mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
16 lines
526 B
TypeScript
16 lines
526 B
TypeScript
import { presentableGuild } from '../../fixtures/storyData';
|
|
import { EditableRoleList } from './EditableRoleList';
|
|
|
|
export default {
|
|
title: 'Molecules/Editable Role List',
|
|
component: EditableRoleList,
|
|
args: {
|
|
roles: presentableGuild.roles,
|
|
selectedRoles: presentableGuild.data.categories[0].roles,
|
|
unselectedRoles: presentableGuild.roles.filter(
|
|
(r) => !presentableGuild.data.categories[0].roles.includes(r.id)
|
|
),
|
|
},
|
|
};
|
|
|
|
export const editableRoleList = (args) => <EditableRoleList {...args} />;
|