Browse Source

fix(toolbar): fix proptype warning

The implementation of ToolbarButtonWithDialog expects a
constructor function for now, not the object returned
from calling a constructor function.
master
Leonard Kim 8 years ago
parent
commit
eae3bead87

+ 1
- 1
react/features/toolbox/components/ToolbarButtonWithDialog.web.js View File

48
         /**
48
         /**
49
          * The React Component to show within {@code InlineDialog}.
49
          * The React Component to show within {@code InlineDialog}.
50
          */
50
          */
51
-        content: PropTypes.object,
51
+        content: PropTypes.func,
52
 
52
 
53
         /**
53
         /**
54
          * From which side tooltips should display. Will be re-used for
54
          * From which side tooltips should display. Will be re-used for

Loading…
Cancel
Save