import { Meta, Story } from '@storybook/react';
import React from 'react';
import {
  IPartyInviteProps,
  PartyInvite,
} from '../../../components/PartySystem/PartyInvite/PartyInvite';
import { mockedPlayersRows } from '../../../components/PartySystem/mockedConstantes/mockedValues';
import { RPGUIRoot } from '../../../components/RPGUI/RPGUIRoot';

const meta: Meta = {
  title: 'Features/Party System/Party Invite',
  component: PartyInvite,
};

export default meta;

const Template: Story<IPartyInviteProps> = args => (
  <RPGUIRoot>
    <PartyInvite {...args} />
  </RPGUIRoot>
);

export const Default = Template.bind({});

Default.args = {
  playersRows: mockedPlayersRows,
};
