From 3317598272e3fbc902ebad3efdbfedf50d2b5e7e Mon Sep 17 00:00:00 2001 From: MiracleUFO Date: Fri, 29 Sep 2023 11:36:55 +0100 Subject: [PATCH] chore: README typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0257bc8..a7a008f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ or with yarn ### To translate whole component: ```jsx -import Translator from 'react-g-translate'; +import Translator from 'react-g-translator'; return ( @@ -33,7 +33,7 @@ return ( ### To translate specific text inline: ```jsx -import { Translate } from 'react-g-translate'; +import { Translate } from 'react-g-translator'; return (
@@ -47,7 +47,7 @@ return ( ### To get translation of text directly: ```jsx -import { getTranslation } from 'react-g-translate'; +import { getTranslation } from 'react-g-translator'; const helloInIgbo = await getTranslation('Hello', 'en', 'ig');