Design: UI-Bausteine rendern die neuen Klassen (Button, Badge, Card, Kopf, Reiter, Stat)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-10-06 06:02:54 +00:00
1 parent 5a0307c9d6
commit 822387e4f7
16 files changed
+130 -72

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
export default function Field({ label, children, hint }) {
export default function Field({ label, htmlFor, children, hint }) {
return (
<div className="field">
{label && <label>{label}</label>}
{label && <label htmlFor={htmlFor}>{label}</label>}
{children}
{hint && <div className="faint" style={{ fontSize: 12 }}>{hint}</div>}
{hint && <div className="hint">{hint}</div>}
</div>
)
}