Declaration
import { SceneStorage } from 'swiftui-react-native';@frozen @propertyWrapper struct SceneStorage<Value>Initializers
7 SwiftUI initializers back <SceneStorage>. The props you pass pick one.
<SceneStorage
wrappedValue: string
swiftKey: string
>
children: (value: string, setValue: (value: string) => Promise<void>) => ReactNode
</SceneStorage>init(wrappedValue: Value, _ key: String) where Value == URLchildren*(value: string, setValue: (value: string) => Promise<void>) => ReactNodeRenders the value, again whenever it changes.
wrappedValue*stringswiftKey*stringSwift
key: String
Also takes the common view props: modifiers, style and testID.
See also
More in State and environment.