import React from 'react' import { type Meta, type StoryObj } from '@storybook/react-vite' import { Link } from 'react-router-dom' import { expect } from 'storybook/test' import Button from './Button' import { toast } from '../Toast/Toast' import { DocsTemplate } from '../../../.storybook' const figmaLink = 'https://www.figma.com/design/RvhKD82948FMQnh5MyCi0o/Web-Design-System?node-id=121-335&t=47NWXExemisHjPrj-0' const meta: Meta = { title: 'Components/Buttons/Button', component: Button, parameters: { design: { type: 'figma', url: figmaLink, }, docs: { page: () => ( as='button' - This is a standard button that triggers an action within the application. , as='link' - This is used when the button is an internal navigational link. , as='externalLink' - This is used when the button is an external link that will navigate outside of the application. , as='unstyled' - This is used when you need an element to be clickable, but do not want to inherit the generic button styles. , ]} figmaLink={figmaLink} /> ), }, }, } export default meta type Story = StoryObj const Template: Story = { render: (args) =>