diff --git a/src/components/atoms/button.astro b/src/components/atoms/button.astro new file mode 100644 index 0000000..c47f2bc --- /dev/null +++ b/src/components/atoms/button.astro @@ -0,0 +1,15 @@ +--- +export interface Props extends astroHTML.JSX.ButtonHTMLAttributes {} + +const props = Astro.props; +--- + + diff --git a/src/components/atoms/button/button.stories.tsx b/src/components/atoms/button/button.stories.tsx deleted file mode 100644 index dc11f99..0000000 --- a/src/components/atoms/button/button.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import type { ComponentMeta, ComponentStory } from '@storybook/react'; - -import * as C from './button'; - -export default { - title: 'Button', - component: C.Button, - argTypes: { - onClick: { action: 'onClick' }, - }, -} as ComponentMeta; - -export const Button: ComponentStory = (args) => ; - -Button.args = { - children: 'Button text', -}; diff --git a/src/components/atoms/button/button.tsx b/src/components/atoms/button/button.tsx deleted file mode 100644 index bfe6e6c..0000000 --- a/src/components/atoms/button/button.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import clsx from 'clsx'; -import type { ComponentPropsWithoutRef } from 'react'; - -interface ButtonProps extends ComponentPropsWithoutRef<'button'> {} - -export const Button = ({ className, ...props }: ButtonProps) => ( -