$
This commit is contained in:
11
src/components/AddBtn/AddBtn.jsx
Normal file
11
src/components/AddBtn/AddBtn.jsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import "./AddBtn.scss";
|
||||
|
||||
export default function AddBtn({ handle }) {
|
||||
return (
|
||||
<div className="add-btn-container">
|
||||
<button onClick={handle} className="add-btn">
|
||||
+
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
}
|
19
src/components/AddBtn/AddBtn.scss
Normal file
19
src/components/AddBtn/AddBtn.scss
Normal file
@@ -0,0 +1,19 @@
|
||||
.add-btn-container {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
right: 20px;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
|
||||
.add-btn {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50px;
|
||||
border: none;
|
||||
background: rgb(123, 106, 156);
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user