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

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

export default meta;

const TemplateInviteFriend: Story<IInviteProps> = (props) => (
  <div style={{ maxWidth: "500px" }}>
    <OrganismsInviteFriend {...props} />
  </div>
);

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

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