Skip to content

Commit a84dfbf

Browse files
authored
Add explicit SPI import in docs [skip ci] (#229)
1 parent f17535b commit a84dfbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/SwiftUIIntrospect.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ Implement your own selector
158158
In case SwiftUIIntrospect doesn't support the SwiftUI element that you're looking for, you can implement your own selector. For example, to introspect a `TextField`:
159159

160160
```swift
161+
@_spi(Internals) import SwiftUIIntrospect
162+
161163
public struct TextFieldType: IntrospectableViewType {}
162164

163165
extension IntrospectableViewType where Self == TextFieldType {

0 commit comments

Comments
 (0)