File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
1616 NeitherToChildrenNorToParentSmallDataScreen
1717} from './screens/SelectionPropagationScreens' ;
1818import packageJson from '../../package.json' ;
19+ import { TwoTreeViewsScreen } from "./screens/TwoTreeViewsScreen" ;
1920
2021const data : ShowcaseExampleScreenSectionType [ ] = [
2122 {
@@ -78,6 +79,16 @@ const data: ShowcaseExampleScreenSectionType[] = [
7879 } ,
7980 ] ,
8081 } ,
82+ {
83+ title : 'Multiple Tree Views' ,
84+ data : [
85+ {
86+ name : 'Two Tree Views' ,
87+ slug : 'two-tree-views' ,
88+ getScreen : ( ) => TwoTreeViewsScreen ,
89+ } ,
90+ ] ,
91+ } ,
8192] ;
8293
8394export default function App ( ) {
Original file line number Diff line number Diff line change 1+ import React from "react" ;
2+ import SmallDataScreen from "./SmallDataScreen" ;
3+ import { View , StyleSheet } from "react-native" ;
4+
5+ export function TwoTreeViewsScreen ( ) {
6+ return (
7+ < >
8+ < View
9+ style = { styles . treeViewParent } >
10+ < SmallDataScreen />
11+ </ View >
12+
13+
14+ < View
15+ style = { styles . treeViewParent } >
16+ < SmallDataScreen />
17+ </ View >
18+ </ >
19+ ) ;
20+ }
21+
22+ const styles = StyleSheet . create ( {
23+ treeViewParent : {
24+ flex : 1 ,
25+ }
26+ } ) ;
You can’t perform that action at this time.
0 commit comments