[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:
parent
d3b26996dd
commit
cf8eeee03a
7 changed files with 189 additions and 51 deletions
|
|
@ -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} />;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue