Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/wojtekmaj/react-t. Simple translation module for React applications.
Something went wrong. Try again.
JSX
at react-args
12345678910111213import PropTypes from 'prop-types';
import useTranslation from './useTranslation';
export default function T({ children, ...args }) { const translatedChildren = useTranslation(children, args); return translatedChildren === undefined ? null : translatedChildren;}
T.propTypes = { children: PropTypes.string,};