We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Project card
FormattedText uses children for the content, making it difficult and ambiguous to type.
Proposal: use a content or value prop so:
content
value
const content = 'foo \n bar'; // Before <FormattedText>{content}</FormattedText> // After <FormattedText content={content} />