diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-06 12:49:14 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-06 12:49:14 +0800 |
commit | 39570a9663abae56b0220745306386197fae65c1 (patch) | |
tree | 6ae24f2380ac200dfbcef3220f7574ef9402d7f4 | |
parent | 479c18e21f86870072abca46167b0fca4cf72dac (diff) | |
download | dexon-0x-contracts-39570a9663abae56b0220745306386197fae65c1.tar dexon-0x-contracts-39570a9663abae56b0220745306386197fae65c1.tar.gz dexon-0x-contracts-39570a9663abae56b0220745306386197fae65c1.tar.bz2 dexon-0x-contracts-39570a9663abae56b0220745306386197fae65c1.tar.lz dexon-0x-contracts-39570a9663abae56b0220745306386197fae65c1.tar.xz dexon-0x-contracts-39570a9663abae56b0220745306386197fae65c1.tar.zst dexon-0x-contracts-39570a9663abae56b0220745306386197fae65c1.zip |
Remove TranslatedText
-rw-r--r-- | packages/website/ts/components/ui/text.tsx | 15 |
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>; |