Skip to content

Commit 8deab25

Browse files
committed
No need for nodeRole="content" due to NSVViewFlags.CONTENT_VIEW
1 parent afce1bf commit 8deab25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demo-react/src/components/HomeScreen.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ export function ExampleTabs() {
3131

3232
{/* The number of tabContentItem components should corespond to the number of TabStripItem components */}
3333
<tabContentItem nodeRole="items">
34-
<gridLayout nodeRole="content" style={{ ...styles.fullSize, backgroundColor: 'blue' }}>
34+
<gridLayout style={{ ...styles.fullSize, backgroundColor: 'blue' }}>
3535
<label style={{ color: 'white' }}>Home Page</label>
3636
</gridLayout>
3737
</tabContentItem>
3838
<tabContentItem nodeRole="items">
39-
<gridLayout nodeRole="content" style={{ ...styles.fullSize, backgroundColor: 'cyan' }}>
39+
<gridLayout style={{ ...styles.fullSize, backgroundColor: 'cyan' }}>
4040
<label style={{ color: 'black' }}>Account Page</label>
4141
</gridLayout>
4242
</tabContentItem>
4343
<tabContentItem nodeRole="items">
44-
<gridLayout nodeRole="content" style={{ ...styles.fullSize, backgroundColor: 'magenta' }}>
44+
<gridLayout style={{ ...styles.fullSize, backgroundColor: 'magenta' }}>
4545
<label style={{ color: 'black' }}>Search Page</label>
4646
</gridLayout>
4747
</tabContentItem>

0 commit comments

Comments
 (0)