interface TinyEditorProps {
    value?: string;
    onChange?: (value: string) => void;
}

export function TinyEditor({ value = '', onChange }: TinyEditorProps) {
    return (
        <textarea
            value={value}
            onChange={(e) => onChange?.(e.target.value)}
            className="min-h-[200px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
        />
    );
}

