initial commit

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-03-23 08:46:51 +01:00
commit 4608494a3f
130 changed files with 40361 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import type { CSSProperties, ReactNode } from 'react'
interface FormFieldProps {
label: ReactNode
children: ReactNode
error?: string
required?: boolean
style?: React.CSSProperties
}
export default function FormField({ label, children, error, required, style }: FormFieldProps) {
return (
<div className="admin-form-group" style={style}>
<label className="admin-form-label">
{label}
{required && <span className="admin-form-required"> *</span>}
</label>
{children}
{error && <span className="admin-form-error">{error}</span>}
</div>
)
}