import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import classNames from 'classnames'; import StatusContent from '../status_content'; import Avatar from '../avatar'; import RelativeTimestamp from '../relative_timestamp'; import DisplayName from '../display_name'; import Button from '../button'; export default class ActionsModal extends ImmutablePureComponent { static propTypes = { status: ImmutablePropTypes.map, actions: PropTypes.array, onClick: PropTypes.func, }; renderAction = (action, i) => { if (action === null) { return
; } const { icon = null, text, meta = null, active = false, href = '#', isLogout } = action; return (