mirror of
https://github.com/zadam/trilium.git
synced 2025-12-23 00:29:59 +01:00
chore(script/jsx): move Preact API in dedicated object
This commit is contained in:
7
apps/client/src/services/frontend_script_api_preact.ts
Normal file
7
apps/client/src/services/frontend_script_api_preact.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Fragment, h } from "preact";
|
||||
|
||||
export const preactAPI = Object.freeze({
|
||||
// Core
|
||||
h,
|
||||
Fragment
|
||||
});
|
||||
Reference in New Issue
Block a user