Hello, I want to know how to display line-through in checkout ui extension, I can’t see any props in compoment “Text”. like this:
Topic summary
A developer needed to display strikethrough text in a Shopify checkout UI extension but couldn’t find the appropriate property in the Text component.
Resolution:
- The solution was found independently by the original poster
- Use
accessibilityRole: deletionas the property to achieve the line-through effect
Status: Resolved - the developer discovered the answer without requiring additional assistance.
1 Like
Can you explain in detail how to operate, tks
ok I find it
accessibilityRole: deletion is the way to show line-through
1 Like
