From 8337c3011d3b053e70d7b7901a9725e4cbc18d75 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Wed, 5 Aug 2020 23:26:19 -0500 Subject: [PATCH] Added size extraExtraLarge prop to Text component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Added: - size extraExtraLarge prop to Text component --- app/javascript/gabsocial/components/text.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/javascript/gabsocial/components/text.js b/app/javascript/gabsocial/components/text.js index 2b973e44..5916b127 100644 --- a/app/javascript/gabsocial/components/text.js +++ b/app/javascript/gabsocial/components/text.js @@ -22,6 +22,7 @@ const SIZES = { medium: 'medium', large: 'large', extraLarge: 'extraLarge', + extraExtraLarge: 'extraExtraLarge', } // Define weights for enumeration for Text component `weight` prop @@ -102,7 +103,8 @@ export default class Text extends PureComponent { colorBrand: color === COLORS.brand, colorWhite: color === COLORS.white, inherit: color === COLORS.inherit, - + + fs24PX: size === SIZES.extraExtraLarge, fs19PX: size === SIZES.extraLarge, fs16PX: size === SIZES.large, fs15PX: size === SIZES.medium,