We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dddef81 commit 0e0586eCopy full SHA for 0e0586e
1 file changed
apps/webapp/app/components/primitives/SegmentedControl.tsx
@@ -1,5 +1,6 @@
1
import { RadioGroup } from "@headlessui/react";
2
import { motion } from "framer-motion";
3
+import type { ReactNode } from "react";
4
import { cn } from "~/utils/cn";
5
6
const sizes = {
@@ -63,7 +64,7 @@ const variants = {
63
64
type VariantType = keyof typeof variants;
65
66
type Options = {
- label: string;
67
+ label: ReactNode;
68
value: string;
69
};
70
0 commit comments