mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
First Commit
This commit is contained in:
15
src/components/Button.jsx
Normal file
15
src/components/Button.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import clsx from "clsx"
|
||||
|
||||
export default function Button({ children, className, ...otherProps }) {
|
||||
return (
|
||||
<button
|
||||
className={clsx(
|
||||
"p-2 bg-primary rounded-md text-white font-semibold text-lg btn-shadow",
|
||||
className
|
||||
)}
|
||||
{...otherProps}
|
||||
>
|
||||
<span>{children}</span>
|
||||
</button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user