Components
Text
Code

Text

NOTE: Exotic components are not callable.

Parameters

props

  • Type: { as: div | h1 | h2 | h3 | h4 | h5 | h6 | label | li | p | span; variant: body | action | emphasis | caption1 | caption2 | display1 | display2 | display3 | display4; }

Props

TextProps

  • Type: @vtex/shoreline-components.Span | @vtex/shoreline-components.Heading | @vtex/shoreline-components.Label | @vtex/shoreline-components.Paragraph | @vtex/shoreline-components.Div | @vtex/shoreline-components.Li

View source (opens in a new tab)