Skip to content

Commit cc8fb7d

Browse files
authored
feat: registerElement RootLayout (nativescript-vue#1016)
1 parent 26ac884 commit cc8fb7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/nativescript/elements.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ export function registerCoreElements() {
3131
viewFlags: NSVViewFlags.LAYOUT_VIEW,
3232
}
3333
);
34+
registerElement(
35+
"RootLayout",
36+
() => require("@nativescript/core").RootLayout,
37+
{
38+
viewFlags: NSVViewFlags.LAYOUT_VIEW,
39+
}
40+
);
3441
registerElement(
3542
"StackLayout",
3643
() => require("@nativescript/core").StackLayout,

0 commit comments

Comments
 (0)