Read-only viewer for saved note files.
Component props
NotesSessionViewer React element
This component renders a saved note file in read-only mode, suitable for displaying in the FileManager or other contexts where editing is not needed.
import { NotesSessionViewer } from '@hiyve/react-notes';function FileViewer({ noteFile }) { return ( <NotesSessionViewer note={noteFile} maxHeight={400} /> );} Copy
import { NotesSessionViewer } from '@hiyve/react-notes';function FileViewer({ noteFile }) { return ( <NotesSessionViewer note={noteFile} maxHeight={400} /> );}
Read-only viewer for saved note files.