import { Switch } from '@headlessui/react' import clsx from 'clsx' import React from 'react' import { Tooltip } from 'web/components/tooltip' export const SwitchSetting = (props: { checked: boolean onChange: (checked: boolean) => void label: string disabled: boolean }) => { const { checked, onChange, label, disabled } = props return ( {label} ) }