sforkowany z mirror/soapbox
Accordion: fix PropType error
rodzic
852ae2f2a2
commit
58d5b1940e
|
@ -11,7 +11,7 @@ const messages = defineMessages({
|
|||
export default @injectIntl class Accordion extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
headline: PropTypes.string.isRequired,
|
||||
headline: PropTypes.node.isRequired,
|
||||
content: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
||||
expanded: PropTypes.bool,
|
||||
onToggle: PropTypes.func,
|
||||
|
|
Ładowanie…
Reference in New Issue