Project structure changes ad new files added in dashboard folders
This commit is contained in:
14
components/common/button.tsx
Normal file
14
components/common/button.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { ButtonProps } from "@/types/types";
|
||||
|
||||
|
||||
export default function Button({
|
||||
children,
|
||||
onClick,
|
||||
className,
|
||||
}: ButtonProps) {
|
||||
return (
|
||||
<button onClick={onClick} className={className}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user