Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <View style = {{flex: 1, width: Dimensions.get('window').width,
- height: Dimensions.get('window').height}}>
- <Workspace
- img={require('./images/quarto.png')}/>
- <ScrollView>
- <Header>
- <HeaderItem img={require('./images/camera.png')}/>
- <HeaderItem img={require('./images/camera.png')}/>
- <HeaderItem img={require('./images/camera.png')}/>
- <HeaderItem img={require('./images/camera.png')}/>
- </Header>
- </ScrollView>
- <ScrollView style = {{flexDirection: 'row'}}>
- {this.sideMenuShow()}
- <ScrollView style = {{alignSelf: 'flex-end'}}>
- <Text style = {{color: 'white'}}>TEST</Text>
- </ScrollView>
- </ScrollView>
- <Footer>
- <View style = {styles.logoContainerStyle}>
- <Image
- style = {styles.logoStyle}
- source = {require('./images/magicalStage.png')}
- />
- </View>
- <View
- style = {{width: '70%', flexDirection: 'row', justifyContent:'flex-end', alignItems: 'flex-end'}}>
- <TouchableOpacity>
- <Text style = {{color: 'white'}}>Workspace </Text>
- </TouchableOpacity>
- <TouchableOpacity>
- <Text style = {{color: 'white', textAlign: 'right'}}>Catalogue</Text>
- </TouchableOpacity>
- </View>
- </Footer>
- </View>
- sideMenuShow() {
- const furnitureList = <FurnitureList />;
- if(!this.state.hideMenu) {
- return(
- <SideMenu>
- <MenuButton
- source = {require('./images/left-material.png')}
- onPress = {() => this.setState({hideMenu: true})}/>
- <Text style = {{color: 'white', fontSize: 16, fontWeight: 'bold'}}>Furniture</Text>
- <SideMenuItem
- onPress = {() =>
- !this.state.hideList ?
- this.setState({hideList: true, hideListSofa: false, hideListBoxes: false})
- : this.setState({hideList: false})
- }
- text='Test'
- >
- </SideMenuItem>
- {
- this.state.hideList ?
- <FurnitureList
- source = {require('./images/image.png')}/>
- : null
- }
- </SideMenu>
- );
- }
- else {
- return(
- <SmallSideMenu>
- <MenuButton
- source = {require('./images/right-material.png')}
- onPress = {() => this.setState({hideMenu: false})}/>
- </SmallSideMenu>
- );
- }
- }
Add Comment
Please, Sign In to add comment