How to get FxSaveButton

import FxSaveButton from 'fontoxml-fx/src/FxSaveButton.jsx'

Type: Component

A button representing the saving and save error states of the documents currently loaded in the editor. When clicking the button, the editor will trigger a save of the dirty documents.

If an error is present in one of the documents, the button triggers a dropdown showing a menu of errored documents. When clicking a document in this menu, it scrolls the corresponding document into view.


# Name Type Description
1. [isDisabled] Boolean

Whether or not the component should be rendered in a disabled state.

2. [tooltipContent] String | ReactElement

The content of the tooltip that is displayed when hovering over the whole component.

  • string: the textual content of the tooltip

  • ReactElement: a React Element (instance of a React Component, usually created with JSX)

Was this page helpful?