Skip to content
TypeScript
340 B
Raw Blame
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} />;
}