UNPKG

usxeditor

Version:

USX editor react component.

20 lines (19 loc) 755 B
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; Object.defineProperty(exports, "__esModule", { value: true }); var jsx_runtime_1 = require("react/jsx-runtime"); function Note(props) { var attrs = props.attrs, raw = props.raw; return (0, jsx_runtime_1.jsxs)("span", __assign({ "aria-label": raw }, { children: ["\\f ", attrs.caller, props.children] })); } exports.default = Note;