This component implements the Body type styles from the Currency typography scale.
Variants
Normal
Large
Small
Development
import { Body } from '@nerdwallet/react-typography';<Body>This is body text.</Body>
Props
<Body>
bold
boolean
Bold styling.
children
node
Required
The content that the Type component will compose.
component
any
Use a custom component instead of the default <p> component.
inline
boolean
By default <Type> is block-level (renders a <p> tag). If the inline prop is used, <Type> is inline (renders a <span> tag).
italic
boolean
Italic styling.
light
boolean
Sets text to "neutral-darker" defined in base-styles.
size
= 'medium'
"large" | "medium" | "small"
The suitable sizes for the TitleText. See the Type Guidelines for details.