[WEB-4687] feat: propel switch (#7629)

* feat: added switch

* fix: lint

* fix: lock file

* fix: improve accessibility and refactor switch component styles

* feat: add switch component to propel package

* fix: update imports in command component for consistency

* refactor: styles
This commit is contained in:
Jayash Tripathy 2025-08-23 00:27:31 +05:30 committed by GitHub
parent d3b26996dd
commit cf8eeee03a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 189 additions and 51 deletions

View file

@ -1,7 +1,7 @@
import { Command as CommandPrimitive } from "cmdk";
import { SearchIcon } from "lucide-react";
import * as React from "react";
import { cn } from "@plane/ui";
import { cn } from "@plane/utils";
function CommandComponent({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>) {
return <CommandPrimitive data-slot="command" className={cn("", className)} {...props} />;