import { Meta, Story } from '@storybook/react';
import React from 'react';
import {
  IPartyCreateProps,
  PartyCreate,
} from '../../../components/PartySystem';
import { RPGUIRoot } from '../../../components/RPGUI/RPGUIRoot';

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

export default meta;

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

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

Default.args = {
  onClose: () => console.log('onClose'),
  onCreate: () => console.log('OnCreate'),
};
