Check out example codes for "css text line in middle". It will help you in understanding the concepts better.

Code Example 1

h2 {
  text-decoration: line-through;
}

Learn ReactJs, React Native from akashmittal.com