import { TooltipProvider } from "@radix-ui/react-tooltip";
import { Canvas, Meta, Story } from "@storybook/addon-docs";
import {
CustomArgsTable,
Examples,
Example,
Title,
VariantsTable,
VariantRow,
} from "@calcom/storybook/components";
import { ArrowRight } from "@calcom/ui/components/icon";
import { ToggleGroup } from "./ToggleGroup";
## Definition
The `ToggleGroup` component is used to create a group of toggle items with optional tooltips.
## Structure
## Examples
},
{ value: "option2", label: "Option 2", iconLeft: },
{ value: "option3", label: "Option 3", iconLeft: },
{
value: "option4",
label: "Option 4",
tooltip: "Tooltip for Option 4",
iconLeft: ,
},
{ value: "option5", label: "Option 5", iconLeft: , disabled: true },
]}
/>
## ToggleGroup Story