From 5a823c26757cb7fc511a2445a7964bd2cdbbce5e Mon Sep 17 00:00:00 2001 From: Mike Perrotti Date: Thu, 11 Jul 2019 18:46:11 -0400 Subject: [PATCH] fix(typography): adds line-height to Text component --- packages/styleUtils/typography/components/Text.tsx | 2 ++ packages/styleUtils/typography/style.ts | 4 +--- .../tests/__snapshots__/typographyComponents.test.tsx.snap | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/styleUtils/typography/components/Text.tsx b/packages/styleUtils/typography/components/Text.tsx index ebcfe2225..57b007dfa 100644 --- a/packages/styleUtils/typography/components/Text.tsx +++ b/packages/styleUtils/typography/components/Text.tsx @@ -12,6 +12,7 @@ import { fontWeightNormal, themeTextColorPrimary } from "../../../design-tokens/build/js/designTokens"; +import { textBase } from "../style"; export interface TextProps extends BasicTextProps { /** @@ -29,6 +30,7 @@ const Text = (props: TextProps) => {