fixes, jsx support

This commit is contained in:
jusax23 2022-11-02 14:45:15 +01:00
parent 5068141aff
commit 10e9a68989
2 changed files with 4 additions and 2 deletions

View file

@ -52,7 +52,6 @@ const call = async (stear, { find, resolve, render, call, event }, { text, autoF
} }
}, },
style: { style: {
borderRadius: "0.5rem",
height: "1rem", height: "1rem",
border: "2px solid", border: "2px solid",
borderRadius: "0.5rem", borderRadius: "0.5rem",

View file

@ -343,7 +343,10 @@ export class class_ {
} }
} }
export const _ = (settings = {}, childs = []) => new class_(settings, Array.isArray(childs) ? childs : [childs]); 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{ class includeFrame{
#elem; #elem;