import React from "react";

//strings
import strings from "../constants/localization";

//actions

//components
import {Text} from "../../../Talk-ui-kit/src/typography";
import Gap from "../../../Talk-ui-kit/src/gap";

//styling

//statics

//functions


export default function ({message}) {
  if (!message.edited) {
    return null;
  }
  return (
    <Gap x={2}>
      <Text italic size="xs" inline>{strings.edited}</Text>
    </Gap>
  )
}
