cx(
"group block cursor-pointer px-1.5 py-px outline-hidden",
state.isDisabled && "cursor-not-allowed",
typeof props.className === "function" ? props.className(state) : props.className,
)
}
>
{(state) => (
{Icon && (
)}
{label || (typeof children === "function" ? children(state) : children)}
{addon && (
{addon}
)}
)}
);
};
interface DropdownMenuProps