[feat] change js to jsx
This commit is contained in:
parent
3d53a8f54a
commit
1d6029d536
16 changed files with 0 additions and 0 deletions
|
|
@ -1,13 +0,0 @@
|
|||
const Button = ({ children, variation, ...props }) => (
|
||||
<button
|
||||
{...props}
|
||||
className={`title mr-3 rounded-2xl px-8 py-2 shadow-md transition duration-300 ease-in-out ${
|
||||
variation === "primary"
|
||||
? "bg-gray-700 hover:bg-transparent border-transparent hover:border-gray-700 border-2 text-gray-100 hover:text-gray-700 box-border"
|
||||
: "transparent border-2 border-gray-700 text-gray-700 hover:bg-gray-700 hover:text-gray-100 box-border"
|
||||
}`}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
|
||||
export default Button;
|
||||
Loading…
Add table
Add a link
Reference in a new issue