sailfork / t3code-github / apps/ mobile/ src/ features/ settings/ components/ SettingsSwitchRow.tsx
import type { ComponentProps } from "react";
import { ListToggleRow } from "../../../components/ui/ListToggleRow";
export function SettingsSwitchRow({
subtitle,
...props
}: Omit<ComponentProps<typeof ListToggleRow>, "description"> & {
readonly subtitle?: string;
}) {
return <ListToggleRow {...props} description={subtitle} />;
}