chore: 通過 ESM 引入外部脚本

* React, ReactDOM 和 CryptoES
* 集中在 Imports.ts 中
* 向每一個 JSX 添加 React 的 import
This commit is contained in:
CrescentLeaf
2025-09-06 14:32:56 +08:00
parent b0c67da340
commit c5d1f11017
13 changed files with 104 additions and 68 deletions

View File

@@ -3,6 +3,8 @@
* @param { Event } event
*/
import { React } from "../Imports.ts"
/**
* 绑定事件
* @param { React.Ref } ref