|
|
@ -70,6 +70,7 @@ export default class StatusContent extends React.PureComponent {
|
|
|
|
collapsed: PropTypes.bool,
|
|
|
|
collapsed: PropTypes.bool,
|
|
|
|
onExpandedToggle: PropTypes.func,
|
|
|
|
onExpandedToggle: PropTypes.func,
|
|
|
|
media: PropTypes.node,
|
|
|
|
media: PropTypes.node,
|
|
|
|
|
|
|
|
extraMedia: PropTypes.node,
|
|
|
|
mediaIcons: PropTypes.arrayOf(PropTypes.string),
|
|
|
|
mediaIcons: PropTypes.arrayOf(PropTypes.string),
|
|
|
|
parseClick: PropTypes.func,
|
|
|
|
parseClick: PropTypes.func,
|
|
|
|
disabled: PropTypes.bool,
|
|
|
|
disabled: PropTypes.bool,
|
|
|
@ -256,6 +257,7 @@ export default class StatusContent extends React.PureComponent {
|
|
|
|
const {
|
|
|
|
const {
|
|
|
|
status,
|
|
|
|
status,
|
|
|
|
media,
|
|
|
|
media,
|
|
|
|
|
|
|
|
extraMedia,
|
|
|
|
mediaIcons,
|
|
|
|
mediaIcons,
|
|
|
|
parseClick,
|
|
|
|
parseClick,
|
|
|
|
disabled,
|
|
|
|
disabled,
|
|
|
@ -351,6 +353,8 @@ export default class StatusContent extends React.PureComponent {
|
|
|
|
{media}
|
|
|
|
{media}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{extraMedia}
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
} else if (parseClick) {
|
|
|
|
} else if (parseClick) {
|
|
|
@ -372,6 +376,7 @@ export default class StatusContent extends React.PureComponent {
|
|
|
|
lang={lang}
|
|
|
|
lang={lang}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
{media}
|
|
|
|
{media}
|
|
|
|
|
|
|
|
{extraMedia}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -391,6 +396,7 @@ export default class StatusContent extends React.PureComponent {
|
|
|
|
lang={lang}
|
|
|
|
lang={lang}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
{media}
|
|
|
|
{media}
|
|
|
|
|
|
|
|
{extraMedia}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|