From 487a108624974235da7e106bbdead785e6780aec Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Thu, 12 Jul 2018 21:30:21 -0300 Subject: [PATCH] Typography support error color --- src/core/client/ui/components/Typography/Typography.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/client/ui/components/Typography/Typography.tsx b/src/core/client/ui/components/Typography/Typography.tsx index a5e45912d..b743305e6 100644 --- a/src/core/client/ui/components/Typography/Typography.tsx +++ b/src/core/client/ui/components/Typography/Typography.tsx @@ -100,6 +100,8 @@ const Typography: StatelessComponent = props => { { [classes.colorPrimary]: color === "primary", [classes.colorSecondary]: color === "secondary", + [classes.colorError]: color === "error", + [classes.colorTextSecondary]: color === "textSecondary", [classes.noWrap]: noWrap, [classes.gutterBottom]: gutterBottom, [classes.paragraph]: paragraph,