moonstone/ Body Text
Exports the moonstone/BodyText.BodyText and moonstone/BodyText.BodyTextBase components. The default export is moonstone/BodyText.BodyTextBase.
import BodyText from '@enact/moonstone/BodyText';Members
BodyTextComponent
moonstone/BodyText.BodyText is a stateless BodyText with Moonstone styling applied.
import BodyText from '@enact/moonstone/BodyText';Properties
- centered
If
true, text content is centered; otherwise, it is left-aligned.Default: false
Boolean
ArrayBooleanFunctionModuleNumberObjectString