Parameters
Whether to apply strikethrough styling. Defaults to
true if not specified.Adds a line through the middle of text or toggles strikethrough styling.
.strikethrough(isActive?: boolean): Component;
true if not specified.Text("Crossed out text")
.strikethrough()
Text("Maybe crossed out")
.strikethrough(shouldCrossOut)
Text("Normal text")
.strikethrough(false)