diff --git a/src/components/Dashboard/common/NoteItem.jsx b/src/components/Dashboard/common/NoteItem.jsx index 45f7977..69f610b 100644 --- a/src/components/Dashboard/common/NoteItem.jsx +++ b/src/components/Dashboard/common/NoteItem.jsx @@ -36,6 +36,8 @@ const NoteItem = ({ showChildNotes = true, showActions = true, showInfo = true, + showBody = true, + showFooter = true, largeSpacing = false }) => { const [childNotes, setChildNotes] = useState([]) @@ -162,90 +164,96 @@ const NoteItem = ({ const noteItem = ( <> - - - - {note.user.name}: - -
- -
-
- - - {showActions && ( - <> - - - - - - )} - - Type: - - {note.noteType.name} - - - - User ID: - - - {showCreatedAt && ( - - Created At: - - - )} - - - {showInfo && ( - + + + + )} + + Type: + + {note.noteType.name} + + + + User ID: + + + {showCreatedAt && ( + + Created At: + + + )} + + + {showInfo && ( +