Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

SettingsSwitchRow.tsx

12 lines340 Bytes

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