diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index d0ca95a..3d45f71 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -1,14 +1,6 @@ +import { ButtonProps } from '@/types/button.types'; import React from 'react'; -interface ButtonProps { - type?: 'button' | 'submit' | 'reset'; - className: string; - onClick: (event: React.MouseEvent) => void; - children: React.ReactNode; - disabled?: boolean; - testId?: string; -} - const Button: React.FC = ({ type, className, onClick, children, disabled, testId }) => { return (