Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const data: ReferenceEntityTemplateSchema = {
- **Apply appropriate tones:** Use \`success\` for positive outcomes, \`warning\` or \`critical\` for alerts, \`info\` for helpful context, \`auto\` for neutral content.
- **Balance color intensity:** Use \`strong\` for emphasis, \`base\` for readability, \`subdued\` for secondary info.
- **Nest for mixed formatting:** Nest \`Text\` components when you need multiple styles within one text block.
- **Use Stack for icons and badges:** When combining text with icons or badges, use Stack with direction="inline" instead of nesting components inside Text.
`,
},
{
Expand All @@ -50,6 +51,8 @@ const data: ReferenceEntityTemplateSchema = {
title: 'Limitations',
sectionContent: `
Complex rich text formatting isn't supported—use multiple \`Text\` components or nested text elements for varied formatting needs.
Nesting Icon or Badge components inside Text isn't supported due to React Native alignment limitations—use Stack with direction="inline" and alignItems="center" instead to properly align icons and badges with text.
`,
},
],
Expand Down