superdesk-ui-framework 7.0.0-dev2 → 7.0.0-dev3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -215,7 +215,7 @@ export const Dropdown = ({items, header, footer, children, align, onChange, maxH
215
215
 
216
216
  return (
217
217
  <div className={open ? 'dropdown open' : 'dropdown'}>
218
- {React.isValidElement(children) ? (
218
+ {React.isValidElement<React.HTMLAttributes<HTMLElement>>(children) ? (
219
219
  // The wrapper (not the cloned child) is the popper anchor, so a plain
220
220
  // function component can be used as the toggle without forwarding a ref.
221
221
  <div ref={setButtonRef}>