The license could not be verified: License Certificate has expired!
How to get uiManager
import uiManager from 'fontoxml-modular-ui/src/uiManager.js'
Allows registration of React components to be used in the Fonto application.
Registers a custom icon defined as an SVGModule or string of SVG under a given name. Use the given name as the icon name when you want to use it.
Strongly recommended tips for sizing your icons:
Tip for using a custom color: to allow setting the icon color when you use your custom icon, use 'currentColor' whenever you want to render the primary color of your SVG: See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/color for more on currentColor.
Do not include anything inside the svg that isn't used to draw the svg (shape/path). So do not include an svg
Tip for handling long svg strings: import and register them in your install.js file, like so:
Usage somewhere in React/JSX:
Usage as a widget when configuring a CVK element:
Anywhere a icon name is expected, a custom icon name that is registered can be used.
Tip: you can even override existing (FontAwesome) icons by registering a custom icon under a pre-existing FontAwesome icon name.
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.