mirror of
https://github.com/wassname/talk.git
synced 2026-08-11 05:54:07 +08:00
Correct prop type
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user