22 lines
599 B
TypeScript
22 lines
599 B
TypeScript
type Props = {
|
|
search: string;
|
|
onChange: (value: string) => void;
|
|
};
|
|
|
|
export default function RoundEvaluationLogOverridesSearch({ search, onChange }: Props) {
|
|
return (
|
|
<div className="mb-3 flex flex-wrap items-center gap-2 text-xs">
|
|
<label className="flex items-center gap-2">
|
|
<span>Hledat:</span>
|
|
<input
|
|
type="text"
|
|
className="border border-divider rounded px-2 py-1 bg-background"
|
|
value={search}
|
|
onChange={(e) => onChange(e.target.value)}
|
|
placeholder="Log ID / callsign"
|
|
/>
|
|
</label>
|
|
</div>
|
|
);
|
|
}
|