⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import { Switch } from '@/components/ui/switch';
import { useTranslations } from 'next-intl';
export default function EnabledSwitch({
checked,
onChange,
disabled = false,
}: {
checked: boolean;
onChange: (value: boolean) => void;
disabled?: boolean;
}) {
const t = useTranslations('common');
return (
<label className="flex items-center gap-2 text-sm text-muted-foreground">
{t('enabled')}
<Switch checked={checked} onCheckedChange={onChange} disabled={disabled} />
</label>
);
}