| 1 | import type { ComponentProps } from "react"; |
| 2 | |
| 3 | import { ListToggleRow } from "../../../components/ListToggleRow"; |
| 4 | |
| 5 | export function SettingsSwitchRow({ |
| 6 | subtitle, |
| 7 | ...props |
| 8 | }: Omit<ComponentProps<typeof ListToggleRow>, "description"> & { |
| 9 | readonly subtitle?: string; |
| 10 | }) { |
| 11 | return <ListToggleRow {...props} description={subtitle} />; |
| 12 | } |