Skip to content

Commit

Permalink
Add Modals component
Browse files Browse the repository at this point in the history
  • Loading branch information
bartwr committed Apr 2, 2024
1 parent 3e92a84 commit 7b19b59
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/Modals.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export const SuccessModal = ({ message }) => {
return (
<div className="auth-success-msg">
<p>{message}</p>
</div>
)
}
export const ErrModal = ({ message }) => {
return (
<div className="auth-err-msg">
<p>{message}</p>
</div>
)
}

0 comments on commit 7b19b59

Please sign in to comment.