// stories/MyButton.stories.tsx
import React from "react";
import { ComponentMeta, ComponentStory } from "@storybook/react";
import { action } from "@storybook/addon-actions";
import { AtomButtonOutline } from "native/atoms/Buttons/Outline";
export default {
  title: "React Native/atoms/Button/Outline",
  component: AtomButtonOutline,
  argTypes: {
    onPress: {
      table: {
        disable: true,
      },
    },
  },
  parameters: {
    controls: { expanded: true },
  },
} as ComponentMeta<typeof AtomButtonOutline>;

// By passing using the Args format for exported stories, you can control the props for a component for reuse in a test
// https://storybook.js.org/docs/react/workflows/unit-testing
export const Outline: ComponentStory<typeof AtomButtonOutline> = (args) => (
  <AtomButtonOutline {...args} />
);

Outline.args = {
  text: "LABEL",
  disabled: false,
  onPress: action("Event Click"),
  color: "primary",
  width: "144px",
};
