import React from 'react';
import { Meta, Story } from '@storybook/react';
import { OrganismsInviteFriend, IInviteProps } from 'react/organisms/InviteFriend';

const meta: Meta = {
  title: 'React/organisms/InviteFriend',
  component: OrganismsInviteFriend,
  argTypes: {},
  parameters: {
    controls: { expanded: true },
  },
};

export default meta;

const TemplateInviteFriend: Story<IInviteProps> = (props) => <OrganismsInviteFriend {...props} />;

export const InviteFriend = TemplateInviteFriend.bind({});

InviteFriend.args = {
  socialList: 'facebook, twitter, telegram, whatsapp'
};