MCPcopy Index your code
hub / github.com/NativeScript/template-macos-solid / ContentView

Function ContentView

src/contentview.tsx:7–20  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

5}
6
7const ContentView: Component<Partial<SnippetProps>> = (props) => {
8 return (
9 <view
10 style={{
11 width: "100%",
12 height: "100%",
13 alignItems: "center",
14 justifyContent: "center",
15 }}
16 >
17 {props.component?.()}
18 </view>
19 );
20};
21
22export default ContentView;

Callers

nothing calls this directly

Calls 1

componentMethod · 0.65

Tested by

no test coverage detected