Skip to content

Commit

Permalink
Merge pull request #174 from 100-hours-a-week/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
lucy726j authored Aug 30, 2024
2 parents ea95028 + db70b97 commit 2ad888f
Show file tree
Hide file tree
Showing 15 changed files with 670 additions and 626 deletions.
31 changes: 16 additions & 15 deletions src/Component/Button/DeleteButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@ import React from "react";
import "./DeleteButtonStyle.css";

interface AnimatedButtonProps {
onClick: () => void;
onClick: () => void;
}

const DeleteButton: React.FC<AnimatedButtonProps> = ({ onClick }) => {
return (
<div
className="delete"
onClick={onClick}
style={{
left: "410px",
cursor: "pointer",
top: "-2px",
}}
>
<div className="top"></div>
<div className="bottom"></div>
</div>
);
return (
<div
className="delete"
onClick={onClick}
style={{
left: "410px",
cursor: "pointer",
top: "-2px",
marginRight: "2rem",
}}
>
<div className="top"></div>
<div className="bottom"></div>
</div>
);
};

export default DeleteButton;
Loading

0 comments on commit 2ad888f

Please sign in to comment.