<${Button} title="Sign In" icon=${Icons.logout} onclick=${onsubmit} cls="flex w-full justify-center" />
/>
${tipText}/>
/>
/>`;
};
export function Colored({icon, text, colors}) {
return html`
${icon && html`<${icon} class="w-5 h-5" />`}
${text}/>
/>`;
};
export function Stat({title, text, tipText, tipIcon, tipColors}) {
return html`
${title}
/>
${text}
/>
<${Colored} text=${tipText} icon=${tipIcon} colors=${tipColors} />
/>
/>
/>
/>`;
};
export function TextValue({value, setfn, disabled, placeholder, type, addonRight, addonLeft, attr}) {
const f = type == 'number' ? x => setfn(parseInt(x)) : setfn;
return html`