OperationCode/front-end

View on GitHub
components/Buttons/LinkButton/__stories__/LinkButton.stories.tsx

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import { Meta, StoryObj } from '@storybook/react';
import LinkButton from '../LinkButton';

type LinkButtonStoryType = StoryObj<typeof LinkButton>;

const meta: Meta<typeof LinkButton> = {
  title: 'Buttons/LinkButton',
  component: LinkButton,
};

export default meta;

export const Default: LinkButtonStoryType = {
  render: args => <LinkButton {...args} />,
  args: {
    children: 'Link',
    href: '#',
  },
};