QuickGUIHostView
Reverse-hosts one ordinary QuickGUI subtree inside a SwiftUI hierarchy.
#Import
Import QuickGUIHostView from @quickgui/solid/swift-ui.
import { Host, QuickGUIHostView } from "@quickgui/solid/swift-ui";#Usage
<Host matchContents>
<QuickGUIHostView width={280} height={120}>
<View style={{ width: 280, height: 120, padding: 16 }}>
<Text>Ordinary QuickGUI content</Text>
</View>
</QuickGUIHostView>
</Host>#API reference
Expand an entry for its description and complete signature. A dash means no declaration default is documented.
QuickGUIHostView
View sourceQuickGUIHostView(props: QuickGUIHostViewProps): NativeNodetestIDstring—
modifiersViewModifier[]—
childrenunknown—
widthnumber—
heightnumber—
matchContentsMatchContents—
backgroundColorValue—
ref((node: NativeNode) => void) | NativeNode—
Declares ref (optional). Reactive JSX expressions update this property in place.
((node: NativeNode) => void) | NativeNodeView source