chore: initialize from frontend template 4dc033c

This commit is contained in:
DongHyeonka
2026-08-13 18:23:26 +09:00
commit 40107eec84
897 changed files with 234824 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
export function attachScript(source: string) {
const script = document.createElement("script");
script.src = source;
document.head.append(script);
}
+1
View File
@@ -0,0 +1 @@
export const execute = (source: string) => eval(source);
@@ -0,0 +1,3 @@
export function RawHtml({ value }: { value: string }) {
return <div dangerouslySetInnerHTML={{ __html: value }} />;
}
+3
View File
@@ -0,0 +1,3 @@
export function UnsafeHtmlFixture({ value }: Readonly<{ value: string }>) {
return <div dangerouslySetInnerHTML={{ __html: value }} />;
}