Login and dashboard added
This commit is contained in:
17
utils/button.tsx
Normal file
17
utils/button.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
interface Props {
|
||||
children: React.ReactNode;
|
||||
onClick?: () => void;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export default function Button({
|
||||
children,
|
||||
onClick,
|
||||
className,
|
||||
}: Props) {
|
||||
return (
|
||||
<button onClick={onClick} className={className}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user