From 75bf407b06ad1b5abf6583811334ea7fa4d8b38b Mon Sep 17 00:00:00 2001 From: hehe Date: Tue, 13 Sep 2022 01:37:07 +0800 Subject: [PATCH] docs: removed the extra ` before :js:func (#1267) --- docs/ref/react.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/ref/react.rst b/docs/ref/react.rst index 3d4978c58..b8a84f3e2 100644 --- a/docs/ref/react.rst +++ b/docs/ref/react.rst @@ -67,7 +67,7 @@ rendered with the ``translation`` passed in as its child: Link to docs; // renders as Link to docs -To get more control over the rendering of translation, use instead the ``render`` method with +To get more control over the rendering of translation, use instead the ``render`` method with **React.Component** (or stateless component). Component passed to ``render`` will receive the translation value as a ``translation`` prop: @@ -142,7 +142,7 @@ If you cannot use `@lingui/macro` for some reason(maybe you compile your code us import React from 'react'; import { Trans } from '@lingui/react'; - +