WIP: Implement config in Frontend

This commit is contained in:
Simon Grimme
2024-09-10 16:28:26 +02:00
parent 0a3245ddf9
commit 3b97b6bbfa
23 changed files with 464 additions and 15697 deletions
+2 -2
View File
@@ -8,12 +8,12 @@ const Input = ({label, ...props}) => {
const [field, meta] = useField(props);
return (
<div className="grid w-full max-w-sm items-center gap-1.5">
<div className="grid w-full max-w-sm items-center gap-2 my-2">
<NextUiInput
{...props}
{...field}
id={label}
placeholder={label}
label={label}
isInvalid={meta.touched && !!meta.error}
errorMessage={
<small className="flex flex-row items-center gap-1 text-danger">