[feat] add back button
This commit is contained in:
parent
df3901191b
commit
59decc3962
5 changed files with 38 additions and 5 deletions
9
components/FixedButton.jsx
Normal file
9
components/FixedButton.jsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const FixedButton = ({ children, onClick }) => (
|
||||
<button
|
||||
onClick={onClick}
|
||||
className="fixed top-2 -left-2 md:left-10 flex justify-center items-center rounded-full p-4 transition duration-300 ease-in-out z-50 transparent">
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
|
||||
export default FixedButton;
|
||||
Loading…
Add table
Add a link
Reference in a new issue