Constant data is added and resuable tabs added
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
interface Props {
|
||||
children: React.ReactNode;
|
||||
onClick?: () => void;
|
||||
className?: string;
|
||||
}
|
||||
import { ButtonProps } from "@/constants/types";
|
||||
|
||||
|
||||
export default function Button({
|
||||
children,
|
||||
onClick,
|
||||
className,
|
||||
}: Props) {
|
||||
}: ButtonProps) {
|
||||
return (
|
||||
<button onClick={onClick} className={className}>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user