feat: add Textfield component

This commit is contained in:
robin committed 2026-07-25 18:41:32 +02:00
1 parent f26060cf6b
commit b97e5ea7bb
3 files changed
+24 -10

No files matched your search

+3 -2
View File
@@ -2,6 +2,8 @@
import { useState, useEffect } from "react";
import Textfield from "@/components/Textfield";
interface Songbook {
id: number;
name: string;
@@ -94,10 +96,9 @@ export default function SenderPage() {
</h2>
<div className="mb-4">
<input
<Textfield
type="text"
placeholder="Nach Songtitel oder Nummer suchen..."
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={song_search_name}
onChange={(e) => search(e.target.value)}
/>