mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
16 lines
330 B
JavaScript
16 lines
330 B
JavaScript
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>
|
|
)
|
|
}
|