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...

Sentry mobile image

Improving mobile performance, from slow screens to app start time

Based on our experience working with thousands of mobile developer teams, we developed a mobile monitoring maturity curve.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay