import React, { Component } from "react"; import PropTypes from "prop-types"; import { translate } from "react-i18next"; @translate(["home"], { wait: true }) export default class Home extends Component { static propTypes = { t: PropTypes.func, }; static defaultProps = { t: () => {}, }; render() { const { t } = this.props; return (

{ t("home:title") }

{ t("home:officialStations") }

{ t("home:communityStations") }

{ t("home:users", { context: "male", count: 5 }) }

{ t("home:users", { context: "female", count: 1 }) }

); } }