UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

12 lines (8 loc) 217 B
// ** Third Party Import import { useTranslation } from 'react-i18next' const Translations = ({ text }) => { // ** Hook const { t } = useTranslation() return <>{`${t(text)}`}</> } export default Translations