import { Meta, Story } from '@storybook/react';
import React from 'react';
import {
  IPartyDashboardProps,
  PartyDashboard,
} from '../../../components/PartySystem/PartyDashboard/PartyDashboard';
import { mockedPartyRows } from '../../../components/PartySystem/mockedConstantes/mockedValues';
import { RPGUIRoot } from '../../../components/RPGUI/RPGUIRoot';

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

export default meta;

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

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

Default.args = {
  partyRows: mockedPartyRows,
};
