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;