mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-16 00:03:00 +00:00
17 lines
339 B
TypeScript
17 lines
339 B
TypeScript
"use client";
|
|
|
|
import { ReactNode } from "react";
|
|
|
|
interface ButtonProps {
|
|
children: ReactNode;
|
|
className?: string;
|
|
onClick?: () => void;
|
|
}
|
|
|
|
export const Button = ({ children, className, onClick }: ButtonProps) => {
|
|
return (
|
|
<button className={className} onClick={onClick} type="button">
|
|
{children}
|
|
</button>
|
|
);
|
|
};
|