Mock <Trans /> from @lingui/macro as a component simplely returns children components

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen authored and Hung-Han (Henry) Chen committed 2020-11-03 18:26:19 +08:00
1 parent 7a2da15828
commit 2b2499107f
2 files changed
+5 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
module.exports = {
Trans: ({ children }: { children: React.ReactNode }) => children,
};