build/webparts/wp.js
function (wp) {
        var element = props.onRenderDisplayElement ? props.onRenderDisplayElement(wp) : null;
        if (element == null) {
            // Default the element
            element = props.displayElement ? React.createElement(props.displayElement, { cfg: wp.cfg }) : null;
        }
        // See if the element exists
        if (element) {
            // Render the element
            react_dom_1.render(React.createElement(Fabric_1.Fabric, null, element), wp.el);
        }
    }
function (wp) {
        var element = props.onRenderDisplayElement ? props.onRenderDisplayElement(wp) : null;
        if (element == null) {
            // Default the element
            element = props.displayElement ? React.createElement(props.displayElement, { cfg: wp.cfg }) : null;
        }
        // See if the element exists
        if (element) {
            // Render the element
            react_dom_1.render(React.createElement(Fabric_1.Fabric, null, element), wp.el);
        }
    }
function ( wp ) { var element = props . onRenderDisplayElement ? props . onRenderDisplayElement ( wp ) : null ; if ( element == null ) { // Default the element element = props . displayElement ? React . createElement ( props . displayElement , { cfg : wp . cfg } ) : null ; } // See if the element exists if ( element ) { // Render the element react_dom_1 . render ( React . createElement ( Fabric_1 . Fabric , null , element ) , wp . el ) ; } }
The render display component
The render display component