"use client" import { ButtonGroup, ButtonGroupText } from "@/examples/base/ui/button-group" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/examples/base/ui/dropdown-menu" import { Field, FieldDescription, FieldGroup, FieldLabel, } from "@/examples/base/ui/field" import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/examples/base/ui/input-group" import { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, } from "@/examples/base/ui/popover" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/examples/base/ui/tooltip" import { ChevronDownIcon, InfoIcon, StarIcon } from "lucide-react" import { toast } from "sonner" export function InputGroupWithTooltip({ country, setCountry, }: { country: string setCountry: (value: string) => void }) { return ( <> Tooltip } > This is content in a tooltip. This is a description of the input group. Dropdown } > {country} setCountry("+1")}> +1 setCountry("+44")}> +44 setCountry("+46")}> +46 This is a description of the input group. Popover } nativeButton={false}> Your connection is not secure. You should not enter any sensitive information on this site. https:// toast("Added to favorites")} > This is a description of the input group. Button Group https:// .com This is a description of the input group. ) }