import type { Meta, StoryObj } from '@storybook/react' import React from 'react' import PropTypes from 'prop-types' import { CustomLink } from '.' const meta: Meta = { component: CustomLink, title: 'atoms/CustomLink', args: { children: 'Link Text', href: '/' } } export default meta type Story = StoryObj export const Default: Story = (args: any) => Default.args = { children: 'Link Text', href: '/' } Default.argTypes = { children: { control: { type: 'text' } }, href: { control: { type: 'text' } } } Default.parameters = { controls: { hideNoControlsWarning: true } } CustomLink.propTypes = { children: PropTypes.any, href: PropTypes.string, otherProps: PropTypes.any }