- );
-}
-
// use setAttribute instead of the React style prop because React strips unknown CSS
// properties (like anchor-name) from inline styles in browsers that don't support them.
// setAttribute writes raw CSS text that the anchor positioning polyfill can read
@@ -106,6 +91,21 @@ const Dropdown = ({ groupName, className = null, icon, children, color = null, c
document.querySelectorAll('.menu-list:popover-open').forEach((openMenu)=>openMenu.hidePopover());
};
+ if(disabled){
+ return (
+