Added size extraExtraLarge prop to Text component

• Added:
- size extraExtraLarge prop to Text component
This commit is contained in:
mgabdev 2020-08-05 23:26:19 -05:00
parent c09ede9cf1
commit 8337c3011d

View File

@ -22,6 +22,7 @@ const SIZES = {
medium: 'medium',
large: 'large',
extraLarge: 'extraLarge',
extraExtraLarge: 'extraExtraLarge',
}
// Define weights for enumeration for Text component `weight` prop
@ -103,6 +104,7 @@ export default class Text extends PureComponent {
colorWhite: color === COLORS.white,
inherit: color === COLORS.inherit,
fs24PX: size === SIZES.extraExtraLarge,
fs19PX: size === SIZES.extraLarge,
fs16PX: size === SIZES.large,
fs15PX: size === SIZES.medium,