How to get FxReferencePopover?
import FxReferencePopover from 'fontoxml-fx/src/FxReferencePopover.jsx'
A component used for making a popover for references.
When the reference is resolving, the popover will show a loading state.
When an error occured while resolving the reference, the popover will show an error state.
When the reference is resolved a popoverBody can be determined based on this resolved reference.
The popover has a button to remove the reference and optional a button to edit the reference.
The popoverData as provided by the family configuration, this only needs to be passed through.
A property that comes from the popover method self (see Create a popover), this only needs to be passed through.
When used, this will open the preview for the reference.
Is called when the
Render the popoverBody based on the resolved reference.
This callback will be triggered when the popover is openend or after the permanent id is resolved (if the reference has permanent ids