UiManager

How to get UiManager

ES2015+:

import UiManager from 'fontoxml-modular-ui/uiManager'

ES5:

define([
	'fontoxml-modular-ui/uiManager'
], function (
	UiManager
) {
});

Type: Class

Allows registration of React components to be used in the FontoXML application.

Methods

Name Description
registerReactComponent

Registers a React component using the given name.

Component can be either the constructor of a class extending React.Component (or one of its subclasses), or a stateless component function.


  Arguments
# Name Type Description
1. componentName String
2. Component ReactComponent