Expo UI and Router for iOS
Modifiers

strokeBorder

Strokes an inset border along the view's shape.

strokeBorder(params)

ParameterTypeDescription
params{ antialiased: boolean, color: Color, cornerRadius: number, shape: 'circle' | 'ellipse' | 'roundedRectangle' | 'capsule' | 'rectangle' | 'containerRelativeShape', style: StrokeStyle }The stroke parameters. Color (omit for the foreground style), style, antialiased, shape and cornerRadius.

Strokes an inset border along the view's shape.

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