Skip to content
Snippets Groups Projects
Commit 7e65dfdd authored by Aggarwal Himanshu's avatar Aggarwal Himanshu
Browse files

Add Button component

parent c78c9dd9
No related branches found
No related tags found
2 merge requests!7Merge develop to main,!5Filters Feature
import classNames from "classnames";
import React from "react";
export default function Button({ children, className, onClick }) {
return (
<button
className={classNames("py-2 px-5 rounded-xl", className)}
onClick={onClick}
>
{children}
</button>
);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment