//@flow import React from "react"; import { translate } from "react-i18next"; import styled from "styled-components"; import Image from "./Image"; type Props = { t: string => string, message?: string }; const Wrapper = styled.div` flex-direction: column; align-items: center; justify-content: center; min-height: 256px; `; const FixedSizedImage = styled(Image)` margin-bottom: 0.75rem; width: 128px; height: 128px; `; class Loading extends React.Component { render() { const { message, t } = this.props; return (

{message}

); } } export default translate("commons")(Loading);