DEV Community

skptricks
skptricks

Posted on

React Native Strikethrough Text Using the StyleSheet

Source: React Native Strikethrough Text Using the StyleSheet

This tutorial explains how To create Strikethrough text in react native app using css stylesheet. This kind of Strikethrough text widely used in shopping website to display discounts on particular product and for that we need to perform some modification in stylesheet design. textDecorationLine: 'line-through' style property of Text component is used to create Strikethrough Text in both Android and iOS react native application.

Click here to read more...

Top comments (0)