Add OutlinedTextFiled from material design 3

This commit is contained in:
2023-07-03 16:50:58 +08:00
parent 0f3bf48c70
commit d97f832a78
5 changed files with 54 additions and 1 deletions

11
server/dmodule.ts Normal file
View File

@@ -0,0 +1,11 @@
import { signal } from "@preact/signals";
import type _MdOutlinedTextField from "./md3/md-outlined-text-field.ts";
export const MdOutlinedTextField = signal<
typeof _MdOutlinedTextField | undefined
>(undefined);
export async function load_dmodule() {
const m = await import("./md3/md-outlined-text-field.ts");
MdOutlinedTextField.value = m.default;
}