Expo UI and Router for iOS
Modifiers

strikethrough

Applies a strikethrough to the text.

strikethrough(params)

ParameterTypeDescription
params{ color: Color, isActive: boolean, pattern: LinePattern }Controls whether the strikethrough is visible (true to show, false to hide).

Applies a strikethrough to the text.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

This modifier works with any view. These components accept it:

Sources

The original Expo docs for this page:

On this page