Skip to main content

A block Rich Text node for a Text component

Options

RichText.Mode.Block | RichText.Mode.Inline
default:"RichText.Mode.Block"
Sets the display property of the ReactNode that is passed to the control. This is useful for visually editing buttons and links.

Prop type

The RichText control passes a ReactNode to your component.

Example

Block mode

Inline mode

.makeswift.ts is a naming convention for organizing Makeswift registration code. Learn more.

Changelog