diff --git a/client/coral-framework/components/Slot.js b/client/coral-framework/components/Slot.js index f4fecb1c7..0d0bdba6b 100644 --- a/client/coral-framework/components/Slot.js +++ b/client/coral-framework/components/Slot.js @@ -90,7 +90,10 @@ Slot.propTypes = { inline: PropTypes.bool, className: PropTypes.string, reduxState: PropTypes.object, - defaultComponent: PropTypes.component, + defaultComponent: PropTypes.oneOfType([ + PropTypes.component, + PropTypes.string, + ]), /** * You may specify the component to use as the root wrapper.