fix(toolbar): fix proptype warning

The implementation of ToolbarButtonWithDialog expects a
constructor function for now, not the object returned
from calling a constructor function.
This commit is contained in:
Leonard Kim
2017-09-25 12:03:11 -07:00
committed by yanas
parent 483e2ee202
commit eae3bead87

View File

@@ -48,7 +48,7 @@ class ToolbarButtonWithDialog extends Component {
/**
* The React Component to show within {@code InlineDialog}.
*/
content: PropTypes.object,
content: PropTypes.func,
/**
* From which side tooltips should display. Will be re-used for