Skip to content

Commit

Permalink
refactor(controlClassName): require props
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 15, 2024
1 parent 8cb8af6 commit b2ce607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/controlClassName.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { clsx } from "clsx/lite";

interface ControlProps {
size?: "auto" | "sm" | "md" | "lg";
shape?: "rectangle" | "pill";
size: "auto" | "sm" | "md" | "lg";
shape: "rectangle" | "pill";
}

export function controlClassName({ size, shape }: ControlProps) {
Expand Down

0 comments on commit b2ce607

Please sign in to comment.