UNPKG

@lingui/react

Version:

React bindings for Lingui with Trans components, providers, and compile-time macros

12 lines (8 loc) 436 B
import { T as TransProps, I as I18nContext } from './shared/react.B7EjXn_h.mjs'; export { c as TransRenderCallbackOrComponent, d as TransRenderProps } from './shared/react.B7EjXn_h.mjs'; import 'react/jsx-runtime'; import 'react'; import '@lingui/core'; declare function TransRsc(props: TransProps): React.ReactElement<any, any> | null; declare function useLingui(): I18nContext; export { TransRsc as Trans, TransProps, useLingui };