Initial commit from Create Next App

This commit is contained in:
Atakan Doğan Özban
2026-07-12 15:40:35 +02:00
commit a0ca85a63d
52 changed files with 10164 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
"use client";
import { RESOLUTIONS } from "@/lib/constants";
type Props = {
value: string;
onChange: (value: string) => void;
disabled?: boolean;
};
export function ResolutionSelect({ value, onChange, disabled }: Props) {
return (
<select
value={value}
onChange={(e) => onChange(e.target.value)}
disabled={disabled}
className="w-full rounded border border-gray-600 bg-surface-light px-3 py-2 text-sm text-white focus:border-accent focus:outline-none disabled:opacity-50"
>
{RESOLUTIONS.map((r) => (
<option key={r.value} value={r.value}>
{r.label}
</option>
))}
</select>
);
}