pramod_Task-#251: A "Notes" section appears in the contact view modal, allowing users to add a note for the selected contact. #124

Merged
pramod.mahajan merged 26 commits from pramod_Task-#251 into Feature_Directory 2025-05-21 11:00:04 +00:00
Showing only changes of commit 8afef0d81a - Show all commits

View File

@ -5,6 +5,7 @@ import "./Editor.css";
const Editor = ({ const Editor = ({
value, value,
loading,
onChange, onChange,
onCancel, onCancel,
onSubmit, onSubmit,
@ -71,15 +72,16 @@ const Editor = ({
{/* Right: Submit + Cancel Buttons */} {/* Right: Submit + Cancel Buttons */}
<div className="d-flex gap-2"> <div className="d-flex gap-2">
<span className="btn btn-xs btn-secondary" onClick={onCancel}> <span className="btn btn-xs btn-secondary" aria-disabled={loading} onClick={onCancel}>
Cancel Cancel
</span> </span>
<span <span
type="submit" type="submit"
className="btn btn-xs btn-primary" className="btn btn-xs btn-primary"
onClick={onSubmit} onClick={onSubmit}
aria-disabled={loading}
> >
Submit {loading ? "Please Wait..." : "Submit"}
</span> </span>
</div> </div>
</div> </div>