Accordion: fix PropType error

chats_delete_account
Alex Gleason 2020-10-01 16:17:32 -05:00
rodzic 852ae2f2a2
commit 58d5b1940e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ const messages = defineMessages({
export default @injectIntl class Accordion extends React.PureComponent { export default @injectIntl class Accordion extends React.PureComponent {
static propTypes = { static propTypes = {
headline: PropTypes.string.isRequired, headline: PropTypes.node.isRequired,
content: PropTypes.oneOfType([PropTypes.string, PropTypes.element]), content: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
expanded: PropTypes.bool, expanded: PropTypes.bool,
onToggle: PropTypes.func, onToggle: PropTypes.func,