Constant data is added and resuable tabs added

This commit is contained in:
2026-07-21 18:59:27 +05:30
parent 0c9151b3a0
commit 06bbfe06fb
10 changed files with 133 additions and 106 deletions

View File

@@ -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}