Main #21
No files matched your search
+6
-1
@@ -230,11 +230,16 @@ export default function AdminPage() {
|
|||||||
</form>
|
</form>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
||||||
<Screens.Songs
|
<Screens.Songs
|
||||||
actionName="Auswählen"
|
actionName="Auswählen"
|
||||||
onSelectSong={(song) => console.log(song)}
|
onSelectSong={(song) => console.log(song)}
|
||||||
className="w-min"
|
className=""
|
||||||
/>
|
/>
|
||||||
|
<Card title="Lied zu Liederbuch hinzufügen">
|
||||||
|
<Input.Text disabled></Input.Text>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -3,13 +3,14 @@ import { ComponentPropsWithoutRef } from "react";
|
|||||||
|
|
||||||
interface TextfieldProps extends ComponentPropsWithoutRef<"input"> {}
|
interface TextfieldProps extends ComponentPropsWithoutRef<"input"> {}
|
||||||
|
|
||||||
function Textfield({value, onChange, placeholder}: TextfieldProps) {
|
function Textfield({value, onChange, placeholder, ...props}: TextfieldProps) {
|
||||||
return (
|
return (
|
||||||
<input
|
<input
|
||||||
className="w-full border border-neutral-700 rounded-lg px-4 py-2.5 placeholder-neutral-500 focus:outline-none focus:border-blue-400 text-sm"
|
className="w-full border border-neutral-700 rounded-lg px-4 py-2.5 placeholder-neutral-500 focus:outline-none focus:border-blue-400 text-sm"
|
||||||
value={value}
|
value={value}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
|
{...props}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user