diff --git a/src/core/menu/components.mjs b/src/core/menu/components.mjs
index 088a7cf..bfdfcdb 100644
--- a/src/core/menu/components.mjs
+++ b/src/core/menu/components.mjs
@@ -69,6 +69,92 @@ function View({ id }, ...children) {
return $el;
}
+function List({}, ...children) {
+ const { html } = globalThis.__enhancerApi;
+ return html`
${children}
`;
+}
+
+function Mod({
+ id,
+ name,
+ version,
+ description,
+ thumbnail,
+ tags = [],
+ authors,
+ options = [],
+ enabled,
+ _update,
+ _src,
+}) {
+ const { html, enhancerUrl } = globalThis.__enhancerApi,
+ $thumbnail = thumbnail
+ ? html`
`
+ : "",
+ $options = options.length
+ ? html``
+ : "";
+ return html``;
+}
+
function Option({ type, value, description, _update, ...props }) {
const { html } = globalThis.__enhancerApi,
camelToSentenceCase = (string) =>
@@ -80,13 +166,13 @@ function Option({ type, value, description, _update, ...props }) {
onchange = (event) => _update(event.target.value);
switch (type) {
case "heading":
- return html``;
+ `;
case "text":
$input = html`<${TextInput} ...${{ value, onchange }} />`;
break;
@@ -127,7 +213,7 @@ function Option({ type, value, description, _update, ...props }) {
class="notion-enhancer--menu-option flex items-center justify-between
mb-[18px] ${type === "toggle" ? "cursor-pointer" : ""}"
>
-
${label}
+
${label}
${type === "text" ? $input : ""}