aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
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>;