mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
bump beta.10
This commit is contained in:
27 files changed
+143
-112
No files matched your search
@@ -169,7 +169,7 @@ export async function prompt<T extends string, R extends Record<T, Field>>(title
|
||||
<h1>{title}</h1>
|
||||
</div></div>
|
||||
{layout.map((i) => <div className="row" key={i[0][0]}>
|
||||
{i.map(([name, field]: [string, Field]) => <div className={`columns medium-${Math.abs(field.columns || 12)}`}>
|
||||
{i.map(([name, field]: [string, Field]) => <div key={name} className={`columns medium-${Math.abs(field.columns || 12)}`}>
|
||||
{['text', 'user', 'userId', 'username', 'domain'].includes(field.type) && <label>
|
||||
{field.label}
|
||||
<div className="textbox-container">
|
||||
|
||||
@@ -9,7 +9,7 @@ ToasterContainer.style.width = '100%';
|
||||
ToasterContainer.style.zIndex = '9999';
|
||||
document.body.append(ToasterContainer);
|
||||
|
||||
const AppToaster = OverlayToaster.createAsync(
|
||||
const AppToaster = OverlayToaster.create(
|
||||
{ position: Position.BOTTOM_LEFT, usePortal: false },
|
||||
{ container: ToasterContainer },
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user