@texonom/nreact 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/.tsbuildinfo +1 -0
- package/build/block.d.ts +21 -0
- package/build/block.d.ts.map +1 -0
- package/build/chunk-723T62SD.js +83 -0
- package/build/chunk-QXNFTOMG.js +2064 -0
- package/build/chunk-RGP7M4NM.js +2064 -0
- package/build/components/asset-wrapper.d.ts +7 -0
- package/build/components/asset-wrapper.d.ts.map +1 -0
- package/build/components/asset.d.ts +8 -0
- package/build/components/asset.d.ts.map +1 -0
- package/build/components/audio.d.ts +7 -0
- package/build/components/audio.d.ts.map +1 -0
- package/build/components/checkbox.d.ts +6 -0
- package/build/components/checkbox.d.ts.map +1 -0
- package/build/components/eoi.d.ts +8 -0
- package/build/components/eoi.d.ts.map +1 -0
- package/build/components/file.d.ts +7 -0
- package/build/components/file.d.ts.map +1 -0
- package/build/components/google-drive.d.ts +7 -0
- package/build/components/google-drive.d.ts.map +1 -0
- package/build/components/graceful-image.d.ts +4 -0
- package/build/components/graceful-image.d.ts.map +1 -0
- package/build/components/header.d.ts +16 -0
- package/build/components/header.d.ts.map +1 -0
- package/build/components/lazy-image.d.ts +14 -0
- package/build/components/lazy-image.d.ts.map +1 -0
- package/build/components/lite-youtube-embed.d.ts +14 -0
- package/build/components/lite-youtube-embed.d.ts.map +1 -0
- package/build/components/page-aside.d.ts +12 -0
- package/build/components/page-aside.d.ts.map +1 -0
- package/build/components/page-icon.d.ts +17 -0
- package/build/components/page-icon.d.ts.map +1 -0
- package/build/components/page-title.d.ts +13 -0
- package/build/components/page-title.d.ts.map +1 -0
- package/build/components/search-dialog.d.ts +26 -0
- package/build/components/search-dialog.d.ts.map +1 -0
- package/build/components/sync-pointer-block.d.ts +7 -0
- package/build/components/sync-pointer-block.d.ts.map +1 -0
- package/build/components/text.d.ts +18 -0
- package/build/components/text.d.ts.map +1 -0
- package/build/context.d.ts +62 -0
- package/build/context.d.ts.map +1 -0
- package/build/dev/chunk-DC3JZG5M.js +2065 -0
- package/build/dev/chunk-DC3JZG5M.js.map +1 -0
- package/build/dev/chunk-HLFRY3QP.js +2065 -0
- package/build/dev/chunk-HLFRY3QP.js.map +1 -0
- package/build/dev/chunk-JX5CEG3A.js +84 -0
- package/build/dev/chunk-JX5CEG3A.js.map +1 -0
- package/build/dev/index.js +48 -0
- package/build/dev/index.js.map +1 -0
- package/build/dev/third-party/code.js +142 -0
- package/build/dev/third-party/code.js.map +1 -0
- package/build/dev/third-party/collection.js +4513 -0
- package/build/dev/third-party/collection.js.map +1 -0
- package/build/dev/third-party/equation.js +37 -0
- package/build/dev/third-party/equation.js.map +1 -0
- package/build/dev/third-party/modal.js +8 -0
- package/build/dev/third-party/modal.js.map +1 -0
- package/build/dev/third-party/pdf.js +21 -0
- package/build/dev/third-party/pdf.js.map +1 -0
- package/build/icons/check.d.ts +4 -0
- package/build/icons/check.d.ts.map +1 -0
- package/build/icons/chevron-down-icon.d.ts +3 -0
- package/build/icons/chevron-down-icon.d.ts.map +1 -0
- package/build/icons/clear-icon.d.ts +3 -0
- package/build/icons/clear-icon.d.ts.map +1 -0
- package/build/icons/collection-view-board.d.ts +4 -0
- package/build/icons/collection-view-board.d.ts.map +1 -0
- package/build/icons/collection-view-calendar.d.ts +4 -0
- package/build/icons/collection-view-calendar.d.ts.map +1 -0
- package/build/icons/collection-view-gallery.d.ts +4 -0
- package/build/icons/collection-view-gallery.d.ts.map +1 -0
- package/build/icons/collection-view-icon.d.ts +9 -0
- package/build/icons/collection-view-icon.d.ts.map +1 -0
- package/build/icons/collection-view-list.d.ts +4 -0
- package/build/icons/collection-view-list.d.ts.map +1 -0
- package/build/icons/collection-view-table.d.ts +4 -0
- package/build/icons/collection-view-table.d.ts.map +1 -0
- package/build/icons/copy.d.ts +4 -0
- package/build/icons/copy.d.ts.map +1 -0
- package/build/icons/default-page-icon.d.ts +3 -0
- package/build/icons/default-page-icon.d.ts.map +1 -0
- package/build/icons/empty-icon.d.ts +3 -0
- package/build/icons/empty-icon.d.ts.map +1 -0
- package/build/icons/file-icon.d.ts +3 -0
- package/build/icons/file-icon.d.ts.map +1 -0
- package/build/icons/link-icon.d.ts +3 -0
- package/build/icons/link-icon.d.ts.map +1 -0
- package/build/icons/loading-icon.d.ts +3 -0
- package/build/icons/loading-icon.d.ts.map +1 -0
- package/build/icons/property-icon.d.ts +9 -0
- package/build/icons/property-icon.d.ts.map +1 -0
- package/build/icons/search-icon.d.ts +3 -0
- package/build/icons/search-icon.d.ts.map +1 -0
- package/build/icons/type-checkbox.d.ts +4 -0
- package/build/icons/type-checkbox.d.ts.map +1 -0
- package/build/icons/type-date.d.ts +4 -0
- package/build/icons/type-date.d.ts.map +1 -0
- package/build/icons/type-email.d.ts +4 -0
- package/build/icons/type-email.d.ts.map +1 -0
- package/build/icons/type-file.d.ts +4 -0
- package/build/icons/type-file.d.ts.map +1 -0
- package/build/icons/type-formula.d.ts +4 -0
- package/build/icons/type-formula.d.ts.map +1 -0
- package/build/icons/type-github.d.ts +4 -0
- package/build/icons/type-github.d.ts.map +1 -0
- package/build/icons/type-multi-select.d.ts +4 -0
- package/build/icons/type-multi-select.d.ts.map +1 -0
- package/build/icons/type-number.d.ts +4 -0
- package/build/icons/type-number.d.ts.map +1 -0
- package/build/icons/type-person-2.d.ts +4 -0
- package/build/icons/type-person-2.d.ts.map +1 -0
- package/build/icons/type-person.d.ts +4 -0
- package/build/icons/type-person.d.ts.map +1 -0
- package/build/icons/type-phone-number.d.ts +4 -0
- package/build/icons/type-phone-number.d.ts.map +1 -0
- package/build/icons/type-relation.d.ts +4 -0
- package/build/icons/type-relation.d.ts.map +1 -0
- package/build/icons/type-select.d.ts +4 -0
- package/build/icons/type-select.d.ts.map +1 -0
- package/build/icons/type-text.d.ts +4 -0
- package/build/icons/type-text.d.ts.map +1 -0
- package/build/icons/type-timestamp.d.ts +4 -0
- package/build/icons/type-timestamp.d.ts.map +1 -0
- package/build/icons/type-title.d.ts +4 -0
- package/build/icons/type-title.d.ts.map +1 -0
- package/build/icons/type-url.d.ts +4 -0
- package/build/icons/type-url.d.ts.map +1 -0
- package/build/index.d.ts +8 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +47 -0
- package/build/map-image-url.d.ts +3 -0
- package/build/map-image-url.d.ts.map +1 -0
- package/build/map-page-url.d.ts +2 -0
- package/build/map-page-url.d.ts.map +1 -0
- package/build/next.d.ts +4 -0
- package/build/next.d.ts.map +1 -0
- package/build/renderer.d.ts +50 -0
- package/build/renderer.d.ts.map +1 -0
- package/build/third-party/code.d.ts +17 -0
- package/build/third-party/code.d.ts.map +1 -0
- package/build/third-party/code.js +141 -0
- package/build/third-party/collection-card.d.ts +4 -0
- package/build/third-party/collection-card.d.ts.map +1 -0
- package/build/third-party/collection-column-title.d.ts +6 -0
- package/build/third-party/collection-column-title.d.ts.map +1 -0
- package/build/third-party/collection-group.d.ts +4 -0
- package/build/third-party/collection-group.d.ts.map +1 -0
- package/build/third-party/collection-row.d.ts +8 -0
- package/build/third-party/collection-row.d.ts.map +1 -0
- package/build/third-party/collection-utils.d.ts +2 -0
- package/build/third-party/collection-utils.d.ts.map +1 -0
- package/build/third-party/collection-view-board.d.ts +4 -0
- package/build/third-party/collection-view-board.d.ts.map +1 -0
- package/build/third-party/collection-view-gallery.d.ts +4 -0
- package/build/third-party/collection-view-gallery.d.ts.map +1 -0
- package/build/third-party/collection-view-list.d.ts +4 -0
- package/build/third-party/collection-view-list.d.ts.map +1 -0
- package/build/third-party/collection-view-table.d.ts +4 -0
- package/build/third-party/collection-view-table.d.ts.map +1 -0
- package/build/third-party/collection-view.d.ts +5 -0
- package/build/third-party/collection-view.d.ts.map +1 -0
- package/build/third-party/collection.d.ts +11 -0
- package/build/third-party/collection.d.ts.map +1 -0
- package/build/third-party/collection.js +4512 -0
- package/build/third-party/equation.d.ts +9 -0
- package/build/third-party/equation.d.ts.map +1 -0
- package/build/third-party/equation.js +36 -0
- package/build/third-party/eval-formula.d.ts +21 -0
- package/build/third-party/eval-formula.d.ts.map +1 -0
- package/build/third-party/modal.d.ts +3 -0
- package/build/third-party/modal.d.ts.map +1 -0
- package/build/third-party/modal.js +7 -0
- package/build/third-party/pdf.d.ts +5 -0
- package/build/third-party/pdf.d.ts.map +1 -0
- package/build/third-party/pdf.js +20 -0
- package/build/third-party/property.d.ts +22 -0
- package/build/third-party/property.d.ts.map +1 -0
- package/build/types.d.ts +72 -0
- package/build/types.d.ts.map +1 -0
- package/build/utils.d.ts +10 -0
- package/build/utils.d.ts.map +1 -0
- package/package.json +62 -0
- package/readme.md +19 -0
- package/src/styles.css +2786 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Text,
|
|
3
|
+
cs,
|
|
4
|
+
useNotionContext
|
|
5
|
+
} from "../chunk-HLFRY3QP.js";
|
|
6
|
+
import {
|
|
7
|
+
__async,
|
|
8
|
+
__commonJS,
|
|
9
|
+
__spreadValues,
|
|
10
|
+
__toESM
|
|
11
|
+
} from "../chunk-JX5CEG3A.js";
|
|
12
|
+
|
|
13
|
+
// ../../node_modules/.pnpm/clipboard-copy@4.0.1/node_modules/clipboard-copy/index.js
|
|
14
|
+
var require_clipboard_copy = __commonJS({
|
|
15
|
+
"../../node_modules/.pnpm/clipboard-copy@4.0.1/node_modules/clipboard-copy/index.js"(exports, module) {
|
|
16
|
+
module.exports = clipboardCopy;
|
|
17
|
+
function makeError() {
|
|
18
|
+
return new DOMException("The request is not allowed", "NotAllowedError");
|
|
19
|
+
}
|
|
20
|
+
function copyClipboardApi(text) {
|
|
21
|
+
return __async(this, null, function* () {
|
|
22
|
+
if (!navigator.clipboard) {
|
|
23
|
+
throw makeError();
|
|
24
|
+
}
|
|
25
|
+
return navigator.clipboard.writeText(text);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function copyExecCommand(text) {
|
|
29
|
+
return __async(this, null, function* () {
|
|
30
|
+
const span = document.createElement("span");
|
|
31
|
+
span.textContent = text;
|
|
32
|
+
span.style.whiteSpace = "pre";
|
|
33
|
+
span.style.webkitUserSelect = "auto";
|
|
34
|
+
span.style.userSelect = "all";
|
|
35
|
+
document.body.appendChild(span);
|
|
36
|
+
const selection = window.getSelection();
|
|
37
|
+
const range = window.document.createRange();
|
|
38
|
+
selection.removeAllRanges();
|
|
39
|
+
range.selectNode(span);
|
|
40
|
+
selection.addRange(range);
|
|
41
|
+
let success = false;
|
|
42
|
+
try {
|
|
43
|
+
success = window.document.execCommand("copy");
|
|
44
|
+
} finally {
|
|
45
|
+
selection.removeAllRanges();
|
|
46
|
+
window.document.body.removeChild(span);
|
|
47
|
+
}
|
|
48
|
+
if (!success)
|
|
49
|
+
throw makeError();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
function clipboardCopy(text) {
|
|
53
|
+
return __async(this, null, function* () {
|
|
54
|
+
try {
|
|
55
|
+
yield copyClipboardApi(text);
|
|
56
|
+
} catch (err) {
|
|
57
|
+
try {
|
|
58
|
+
yield copyExecCommand(text);
|
|
59
|
+
} catch (err2) {
|
|
60
|
+
throw err2 || err || makeError();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
// src/third-party/code.tsx
|
|
69
|
+
var import_clipboard_copy = __toESM(require_clipboard_copy(), 1);
|
|
70
|
+
import * as React2 from "react";
|
|
71
|
+
import { getBlockTitle } from "@texonom/nutils";
|
|
72
|
+
import { highlightElement } from "prismjs";
|
|
73
|
+
import "prismjs/components/prism-clike.min.js";
|
|
74
|
+
import "prismjs/components/prism-css-extras.min.js";
|
|
75
|
+
import "prismjs/components/prism-css.min.js";
|
|
76
|
+
import "prismjs/components/prism-javascript.min.js";
|
|
77
|
+
import "prismjs/components/prism-js-extras.min.js";
|
|
78
|
+
import "prismjs/components/prism-json.min.js";
|
|
79
|
+
import "prismjs/components/prism-jsx.min.js";
|
|
80
|
+
import "prismjs/components/prism-tsx.min.js";
|
|
81
|
+
import "prismjs/components/prism-typescript.min.js";
|
|
82
|
+
|
|
83
|
+
// src/icons/copy.tsx
|
|
84
|
+
import * as React from "react";
|
|
85
|
+
function SvgCopy(props) {
|
|
86
|
+
return /* @__PURE__ */ React.createElement("svg", __spreadValues({ fill: "currentColor", viewBox: "0 0 16 16", width: "1em", version: "1.1" }, props), /* @__PURE__ */ React.createElement(
|
|
87
|
+
"path",
|
|
88
|
+
{
|
|
89
|
+
fillRule: "evenodd",
|
|
90
|
+
d: "M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"
|
|
91
|
+
}
|
|
92
|
+
), /* @__PURE__ */ React.createElement(
|
|
93
|
+
"path",
|
|
94
|
+
{
|
|
95
|
+
fillRule: "evenodd",
|
|
96
|
+
d: "M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"
|
|
97
|
+
}
|
|
98
|
+
));
|
|
99
|
+
}
|
|
100
|
+
var copy_default = SvgCopy;
|
|
101
|
+
|
|
102
|
+
// src/third-party/code.tsx
|
|
103
|
+
var Code = ({ block, defaultLanguage = "typescript", className }) => {
|
|
104
|
+
var _a, _b, _c;
|
|
105
|
+
const [isCopied, setIsCopied] = React2.useState(false);
|
|
106
|
+
const copyTimeout = React2.useRef();
|
|
107
|
+
const { recordMap } = useNotionContext();
|
|
108
|
+
const content = getBlockTitle(block, recordMap);
|
|
109
|
+
const language = (((_c = (_b = (_a = block.properties) == null ? void 0 : _a.language) == null ? void 0 : _b[0]) == null ? void 0 : _c[0]) || defaultLanguage).toLowerCase();
|
|
110
|
+
const caption = block.properties.caption;
|
|
111
|
+
const codeRef = React2.useRef();
|
|
112
|
+
React2.useEffect(() => {
|
|
113
|
+
if (codeRef.current)
|
|
114
|
+
try {
|
|
115
|
+
highlightElement(codeRef.current);
|
|
116
|
+
} catch (err) {
|
|
117
|
+
console.warn("prismjs highlight error", err);
|
|
118
|
+
}
|
|
119
|
+
}, [codeRef]);
|
|
120
|
+
const onClickCopyToClipboard = React2.useCallback(() => {
|
|
121
|
+
(0, import_clipboard_copy.default)(content);
|
|
122
|
+
setIsCopied(true);
|
|
123
|
+
if (copyTimeout.current) {
|
|
124
|
+
clearTimeout(copyTimeout.current);
|
|
125
|
+
copyTimeout.current = null;
|
|
126
|
+
}
|
|
127
|
+
copyTimeout.current = setTimeout(() => {
|
|
128
|
+
setIsCopied(false);
|
|
129
|
+
}, 1200);
|
|
130
|
+
}, [content, copyTimeout]);
|
|
131
|
+
const copyButton = /* @__PURE__ */ React2.createElement("div", { className: "notion-code-copy-button", onClick: onClickCopyToClipboard }, /* @__PURE__ */ React2.createElement(copy_default, null));
|
|
132
|
+
return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("pre", { className: cs("notion-code", className) }, /* @__PURE__ */ React2.createElement("div", { className: "notion-code-copy" }, copyButton, isCopied && /* @__PURE__ */ React2.createElement("div", { className: "notion-code-copy-tooltip" }, /* @__PURE__ */ React2.createElement("div", null, isCopied ? "Copied" : "Copy"))), /* @__PURE__ */ React2.createElement("code", { className: `language-${language}`, ref: codeRef }, content)), caption && /* @__PURE__ */ React2.createElement("figcaption", { className: "notion-asset-caption" }, /* @__PURE__ */ React2.createElement(Text, { value: caption, block })));
|
|
133
|
+
};
|
|
134
|
+
export {
|
|
135
|
+
Code
|
|
136
|
+
};
|
|
137
|
+
/*! Bundled license information:
|
|
138
|
+
|
|
139
|
+
clipboard-copy/index.js:
|
|
140
|
+
(*! clipboard-copy. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
141
|
+
*/
|
|
142
|
+
//# sourceMappingURL=code.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/.pnpm/clipboard-copy@4.0.1/node_modules/clipboard-copy/index.js","../../../src/third-party/code.tsx","../../../src/icons/copy.tsx"],"sourcesContent":["/*! clipboard-copy. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */\n/* global DOMException */\n\nmodule.exports = clipboardCopy\n\nfunction makeError () {\n return new DOMException('The request is not allowed', 'NotAllowedError')\n}\n\nasync function copyClipboardApi (text) {\n // Use the Async Clipboard API when available. Requires a secure browsing\n // context (i.e. HTTPS)\n if (!navigator.clipboard) {\n throw makeError()\n }\n return navigator.clipboard.writeText(text)\n}\n\nasync function copyExecCommand (text) {\n // Put the text to copy into a <span>\n const span = document.createElement('span')\n span.textContent = text\n\n // Preserve consecutive spaces and newlines\n span.style.whiteSpace = 'pre'\n span.style.webkitUserSelect = 'auto'\n span.style.userSelect = 'all'\n\n // Add the <span> to the page\n document.body.appendChild(span)\n\n // Make a selection object representing the range of text selected by the user\n const selection = window.getSelection()\n const range = window.document.createRange()\n selection.removeAllRanges()\n range.selectNode(span)\n selection.addRange(range)\n\n // Copy text to the clipboard\n let success = false\n try {\n success = window.document.execCommand('copy')\n } finally {\n // Cleanup\n selection.removeAllRanges()\n window.document.body.removeChild(span)\n }\n\n if (!success) throw makeError()\n}\n\nasync function clipboardCopy (text) {\n try {\n await copyClipboardApi(text)\n } catch (err) {\n // ...Otherwise, use document.execCommand() fallback\n try {\n await copyExecCommand(text)\n } catch (err2) {\n throw (err2 || err || makeError())\n }\n }\n}\n","import * as React from 'react'\n\nimport copyToClipboard from 'clipboard-copy'\nimport { CodeBlock } from '@texonom/ntypes'\nimport { getBlockTitle } from '@texonom/nutils'\nimport { highlightElement } from 'prismjs'\nimport 'prismjs/components/prism-clike.min.js'\nimport 'prismjs/components/prism-css-extras.min.js'\nimport 'prismjs/components/prism-css.min.js'\nimport 'prismjs/components/prism-javascript.min.js'\nimport 'prismjs/components/prism-js-extras.min.js'\nimport 'prismjs/components/prism-json.min.js'\nimport 'prismjs/components/prism-jsx.min.js'\nimport 'prismjs/components/prism-tsx.min.js'\nimport 'prismjs/components/prism-typescript.min.js'\n\nimport { Text } from '../components/text'\nimport { useNotionContext } from '../context'\nimport CopyIcon from '../icons/copy'\nimport { cs } from '../utils'\n\nexport const Code: React.FC<{\n block: CodeBlock\n defaultLanguage?: string\n className?: string\n}> = ({ block, defaultLanguage = 'typescript', className }) => {\n const [isCopied, setIsCopied] = React.useState(false)\n const copyTimeout = React.useRef<number>()\n const { recordMap } = useNotionContext()\n const content = getBlockTitle(block, recordMap)\n const language = (block.properties?.language?.[0]?.[0] || defaultLanguage).toLowerCase()\n const caption = block.properties.caption\n\n const codeRef = React.useRef()\n React.useEffect(() => {\n if (codeRef.current)\n try {\n highlightElement(codeRef.current)\n } catch (err) {\n console.warn('prismjs highlight error', err)\n }\n }, [codeRef])\n\n const onClickCopyToClipboard = React.useCallback(() => {\n copyToClipboard(content)\n setIsCopied(true)\n\n if (copyTimeout.current) {\n clearTimeout(copyTimeout.current)\n copyTimeout.current = null\n }\n\n copyTimeout.current = setTimeout(() => {\n setIsCopied(false)\n }, 1200) as unknown as number\n }, [content, copyTimeout])\n\n const copyButton = (\n <div className='notion-code-copy-button' onClick={onClickCopyToClipboard}>\n <CopyIcon />\n </div>\n )\n\n return (\n <>\n <pre className={cs('notion-code', className)}>\n <div className='notion-code-copy'>\n {copyButton}\n\n {isCopied && (\n <div className='notion-code-copy-tooltip'>\n <div>{isCopied ? 'Copied' : 'Copy'}</div>\n </div>\n )}\n </div>\n\n <code className={`language-${language}`} ref={codeRef}>\n {content}\n </code>\n </pre>\n\n {caption && (\n <figcaption className='notion-asset-caption'>\n <Text value={caption} block={block} />\n </figcaption>\n )}\n </>\n )\n}\n","import * as React from 'react'\n\nfunction SvgCopy(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg fill='currentColor' viewBox='0 0 16 16' width='1em' version='1.1' {...props}>\n <path\n fillRule='evenodd'\n d='M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z'\n />\n <path\n fillRule='evenodd'\n d='M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z'\n />\n </svg>\n )\n}\n\nexport default SvgCopy\n"],"mappings":";;;;;;;;;;;;;AAAA;AAAA;AAGA,WAAO,UAAU;AAEjB,aAAS,YAAa;AACpB,aAAO,IAAI,aAAa,8BAA8B,iBAAiB;AAAA,IACzE;AAEA,aAAe,iBAAkB,MAAM;AAAA;AAGrC,YAAI,CAAC,UAAU,WAAW;AACxB,gBAAM,UAAU;AAAA,QAClB;AACA,eAAO,UAAU,UAAU,UAAU,IAAI;AAAA,MAC3C;AAAA;AAEA,aAAe,gBAAiB,MAAM;AAAA;AAEpC,cAAM,OAAO,SAAS,cAAc,MAAM;AAC1C,aAAK,cAAc;AAGnB,aAAK,MAAM,aAAa;AACxB,aAAK,MAAM,mBAAmB;AAC9B,aAAK,MAAM,aAAa;AAGxB,iBAAS,KAAK,YAAY,IAAI;AAG9B,cAAM,YAAY,OAAO,aAAa;AACtC,cAAM,QAAQ,OAAO,SAAS,YAAY;AAC1C,kBAAU,gBAAgB;AAC1B,cAAM,WAAW,IAAI;AACrB,kBAAU,SAAS,KAAK;AAGxB,YAAI,UAAU;AACd,Y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