json-joy
Version:
Collection of libraries for building collaborative editing apps.
10 lines (9 loc) • 486 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormattingIcon = void 0;
const tslib_1 = require("tslib");
// biome-ignore lint: lint/style/useImportType
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;