How to get useRemoteDocumentState?
import useRemoteDocumentState from 'fontoxml-remote-documents/src/useRemoteDocumentState.js'
A hook that returns the remote document state (which is a complex object containing multiple properties described below) for a given documentId. Designed to be used in custom sheet frame headers. Read more in the "Configure a (custom) sheet frame header" how to guide.
The local document id for which you want to track remote document state.