initial commit
This commit is contained in:
8
components/ui/button.jsx
Normal file
8
components/ui/button.jsx
Normal file
@@ -0,0 +1,8 @@
|
||||
import React from "react";
|
||||
|
||||
export const Button = ({ as: Comp = "button", className = "", ...props }) => (
|
||||
<Comp
|
||||
className={`px-4 py-2 rounded-md font-medium border hover:opacity-90 transition ${className}`}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
Reference in New Issue
Block a user