aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-06 12:49:14 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-06 12:49:14 +0800
commit39570a9663abae56b0220745306386197fae65c1 (patch)
tree6ae24f2380ac200dfbcef3220f7574ef9402d7f4 /packages/website
parent479c18e21f86870072abca46167b0fca4cf72dac (diff)
downloaddexon-sol-tools-39570a9663abae56b0220745306386197fae65c1.tar
dexon-sol-tools-39570a9663abae56b0220745306386197fae65c1.tar.gz
dexon-sol-tools-39570a9663abae56b0220745306386197fae65c1.tar.bz2
dexon-sol-tools-39570a9663abae56b0220745306386197fae65c1.tar.lz
dexon-sol-tools-39570a9663abae56b0220745306386197fae65c1.tar.xz
dexon-sol-tools-39570a9663abae56b0220745306386197fae65c1.tar.zst
dexon-sol-tools-39570a9663abae56b0220745306386197fae65c1.zip
Remove TranslatedText
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/ui/text.tsx15
1 files changed, 0 insertions, 15 deletions
diff --git a/packages/website/ts/components/ui/text.tsx b/packages/website/ts/components/ui/text.tsx
index 259365618..99bf89966 100644
--- a/packages/website/ts/components/ui/text.tsx
+++ b/packages/website/ts/components/ui/text.tsx
@@ -39,18 +39,3 @@ Text.defaultProps = {
};
Text.displayName = 'Text';
-
-interface TranslatedProps {
- children: Key;
- translate: Translate;
- deco?: Deco;
-}
-
-export type TranslatedTextProps = TextProps & TranslatedProps;
-
-export const TranslatedText: React.StatelessComponent<TranslatedTextProps> = ({
- translate,
- children,
- deco,
- ...textProps
-}) => <Text {...textProps}>{translate.get(children, deco)}</Text>;