Skip to content

Commit

Permalink
Merge pull request #11 from GenaDrop:stagging
Browse files Browse the repository at this point in the history
Added more genadrop wiidgets
  • Loading branch information
Jikugodwill authored Nov 22, 2023
2 parents 63fc0a0 + 4820104 commit 619ee9a
Show file tree
Hide file tree
Showing 21 changed files with 8,280 additions and 1 deletion.
29 changes: 29 additions & 0 deletions apps/BosGenaDrop/widget/GenaDrop/Alert.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
const Toast = styled.div`
position: fixed;
display: flex;
align-items: center;
justify-content: center;
align-conten: center;
top: 90px;
right: 25px;
background-color: red;
color: #fff;
padding: 16px;
border-radius: 8px;
z-index: 10000;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
&>p{
margin:0px;
padding: 0px;
}
`;

return (
<>
<Toast>
<p>
{props.toastMessage || "Make sure all required fields are popuplated!"}
</p>
</Toast>
</>
);
Loading

0 comments on commit 619ee9a

Please sign in to comment.