import React from 'react'

import {
  ListItem,
  ListItemText
} from 'material-ui/List'

export default (
  condition,
  message
) => {
  if (!condition) {
    return (
      <ListItem
        button
      >
        <ListItemText
          primary={message}
        />
      </ListItem>
    )
  }
}
