From 10e9a68989393ce7a4d647c489eef66ec6390f9e Mon Sep 17 00:00:00 2001 From: jusax23 Date: Wed, 2 Nov 2022 14:45:15 +0100 Subject: [PATCH] fixes, jsx support --- extra/Pages/prompt.js | 1 - main.js | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/extra/Pages/prompt.js b/extra/Pages/prompt.js index f77126e..9b93486 100644 --- a/extra/Pages/prompt.js +++ b/extra/Pages/prompt.js @@ -52,7 +52,6 @@ const call = async (stear, { find, resolve, render, call, event }, { text, autoF } }, style: { - borderRadius: "0.5rem", height: "1rem", border: "2px solid", borderRadius: "0.5rem", diff --git a/main.js b/main.js index 2704aa6..7f9760a 100644 --- a/main.js +++ b/main.js @@ -343,7 +343,10 @@ export class class_ { } } export const _ = (settings = {}, childs = []) => new class_(settings, Array.isArray(childs) ? childs : [childs]); - +export const s = (type,settings,...childs)=>{ + settings.type = type; + return new class_(settings,childs); +} class includeFrame{ #elem;