ui/BodyText
Text block component to be customized by a theme or application.
Members
Section titled “Members ”BodyText Component
Section titled “BodyText   Component ”A simple, unstyled text block component.
Extends:
ui/BodyTextui/BodyText.BodyTextBase
Wrapped with:
ui/BodyTextui/BodyText.BodyTextDecorator
BodyTextBase Component
Section titled “BodyTextBase   Component ”A simple, unstyled text block component, without ui/BodyTextui/BodyText.BodyTextDecorator applied.
Properties
centered
Section titled “centered”Centers the contents.
Applies the centered CSS class which can be customized by
/docs/developer-guide/theming//docs/developer-guide/theming/.
component
Section titled “component”The type of component to use to render the item. May be a DOM node name (e.g 'div', 'p', etc.) or a custom component.
Default: 'p'Called with a reference to the root component.
When using ui/BodyTextui/BodyText.BodyText, the ref prop is forwarded to this component
as componentRef.
Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
The following classes are supported:
bodyText- The root class namecentered- Applied whencenteredprop istrue
BodyTextDecorator Higher-Order Component
Section titled “BodyTextDecorator   Higher-Order Component ”Applies BodyText behaviors.
Includes:
ui/ForwardRefui/ForwardRef.ForwardRef