You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add additional style-related props to the Text component in @metamask/design-system-react-native (DSRN) to expand flexibility and align with common web and design system usage. These props should match existing DSR or platform conventions where applicable.
Technical Details
Add support for the following props to the DSRN Text component:
Description
Add additional style-related props to the
Text
component in@metamask/design-system-react-native
(DSRN) to expand flexibility and align with common web and design system usage. These props should match existing DSR or platform conventions where applicable.Technical Details
Add support for the following props to the DSRN
Text
component:textTransform
(e.g.,"none"
,"uppercase"
,"lowercase"
,"capitalize"
)textAlign
(e.g.,"left"
,"right"
,"center"
,"justify"
)overflowWrap
or equivalent line-breaking control (e.g., wrap or truncate behavior)ellipsis
boolean prop for enablingnumberOfLines
-based truncationEnsure compatibility with React Native style props and accessibility.
Update prop types and documentation accordingly.
Acceptance Criteria
Text
component.The text was updated successfully, but these errors were encountered: