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

// 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 Ghost: ComponentStory<typeof AtomButtonGhost> = (args) => (
  <AtomButtonGhost {...args} />
);

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