create header

This commit is contained in:
2025-05-12 17:23:05 +03:00
parent e74731b789
commit a5ffa7ae13
22 changed files with 576 additions and 24 deletions

View File

@@ -0,0 +1,22 @@
import React from 'react'
interface ButtonProps {
onClick?: () => void
className?: string
text?: string
type?: 'button'
}
const Button = ({ onClick, className, text, type }: ButtonProps) => {
return (
<button
onClick={onClick}
className={`${className} text-base font-medium px-4 py-3 text-white bg-orange rounded-2xl cursor-pointer`}
type={type}
>
<span>{text}</span>
</button>
)
}
export default Button