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

import {Link} from './index';

const meta: Meta<typeof Link> = {
  title: 'HuGo/Link',
  component: Link,
  argTypes: {
    children: {control: 'text'},
    withIcon: {control: 'boolean'},
    white: {control: 'boolean'},
    disabled: {control: 'boolean'},
  },
};

type Story = StoryObj<typeof Link>;

export const LinkComponent: Story = {
  args: {children: 'Link', withIcon: true, white: false, disabled: false},
};

export default meta;
