A message component for reactjs