mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
Update
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { signal } from "@preact/signals";
|
||||
import type {
|
||||
MdOutlinedButton as _MdOutlinedButton,
|
||||
MdOutlinedSelect as _MdOutlinedSelect,
|
||||
MdOutlinedTextField as _MdOutlinedTextField,
|
||||
MdSelectOption as _MdSelectOption,
|
||||
MdTonalButton as _MdTonalButton,
|
||||
} from "./md3.ts";
|
||||
|
||||
@@ -17,9 +19,19 @@ export const MdTonalButton = signal<typeof _MdTonalButton | undefined>(
|
||||
undefined,
|
||||
);
|
||||
|
||||
export const MdSelectOption = signal<typeof _MdSelectOption | undefined>(
|
||||
undefined,
|
||||
);
|
||||
|
||||
export const MdOutlinedSelect = signal<typeof _MdOutlinedSelect | undefined>(
|
||||
undefined,
|
||||
);
|
||||
|
||||
export async function load_dmodule() {
|
||||
const md3 = await import("./md3.ts");
|
||||
MdOutlinedTextField.value = md3.MdOutlinedTextField;
|
||||
MdOutlinedButton.value = md3.MdOutlinedButton;
|
||||
MdTonalButton.value = md3.MdTonalButton;
|
||||
MdSelectOption.value = md3.MdSelectOption;
|
||||
MdOutlinedSelect.value = md3.MdOutlinedSelect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user