json-joy
Version:
Collection of libraries for building collaborative editing apps.
9 lines • 481 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormattingIcon = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const GenericIcon_1 = require("./GenericIcon");
const FormattingIcon = (props) => props.formatting.behavior.data().renderIcon?.(props) ?? React.createElement(GenericIcon_1.GenericIcon, { ...props });
exports.FormattingIcon = FormattingIcon;
//# sourceMappingURL=FormattingIcon.js.map