Customize the masthead on the review route

Customize the masthead component used in the review route.

Register a custom component using uiManager's registerReactComponent under the name MastheadForReview that renders an FDS Masthead. See the reference configuration source code for an example.

If you do not register a custom component, a default masthead is used, which is equal to the one in the reference configuration.

JavaScript

import uiManager from 'fontoxml-modular-ui/src/uiManager.js';
import MyMastheadComponent from './MyMastheadComponent.jsx';

uiManager.registerReactComponent('MastheadForReview', MyMastheadComponent);

Register a custom masthead in Fonto Review