Text

Props

NameRequiredTypeDefault ValueDescription
size-"XXS", "XS", "S", "M", "L", "XL", "XXL"
weight-"normal", "bold", "inherit"
italic-false, true
color-"inherit", "TEXT_BLACK", "TEXT_GREY", "TEXT_DISABLED", "TEXT_LINK"
leading-"NONE", "TIGHT", "NORMAL", "RELAXED"
whiteSpace-"normal", "inherit", "-moz-initial", "initial", "revert", "unset", "-moz-pre-wrap", "break-spaces", "nowrap", "pre", "pre-line", "pre-wrap"
emphasis-false, true
© 2021, SmartHR, Inc.