import {Meta, StoryObj} from '@storybook/react';

import {FABButton as FABButtonComponent} from './index';

type Story = StoryObj<typeof FABButtonComponent>;

const meta: Meta<typeof FABButtonComponent> = {
  title: 'HuGo/Buttons/FABButton',
  component: FABButtonComponent,
  argTypes: {
    text: {control: 'text'},
    withIcon: {control: 'boolean'},
    size: {control: 'radio', options: ['lg', 'sm']},
    disabled: {control: 'boolean'},
  },
};

export const FABButton: Story = {
  args: {
    text: 'Submit',
    withIcon: true,
    size: 'lg',
    disabled: false,
  },
};

export default meta;
