initial implementation
This commit is contained in:
21
app/components/button.tsx
Normal file
21
app/components/button.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import clsx from "clsx"
|
||||
|
||||
function Button({
|
||||
className,
|
||||
...props
|
||||
}: React.DetailedHTMLProps<
|
||||
React.ButtonHTMLAttributes<HTMLButtonElement>,
|
||||
HTMLButtonElement
|
||||
>) {
|
||||
return (
|
||||
<button
|
||||
{...props}
|
||||
className={clsx(
|
||||
"text-sm bg-neutral-200 dark:bg-neutral-700 px-2 py-1 rounded",
|
||||
className,
|
||||
)}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export { Button }
|
Reference in New Issue
Block a user