Added size extraExtraLarge prop to Text component
• Added: - size extraExtraLarge prop to Text component
This commit is contained in:
parent
c09ede9cf1
commit
8337c3011d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user