Created
June 18, 2017 09:12
-
-
Save MovingGifts/b7544e10323949d829fc232cf062738c to your computer and use it in GitHub Desktop.
DrawerPanel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import RX from 'reactxp'; | |
const styles = { | |
container: RX.Styles.createViewStyle({ | |
flex: 1, | |
width: 100, | |
backgroundColor: 'red' | |
}), | |
drawerText: RX.Styles.createTextStyle({ | |
fontSize: 16, | |
textAlign: 'center', | |
marginTop: 12, | |
color: 'black' | |
}) | |
}; | |
export default class DrawerPanel extends RX.Component { | |
render() { | |
return ( | |
<RX.View style={ styles.container }> | |
<RX.Text style={ styles.drawerText }> | |
Here is a drawer | |
</RX.Text> | |
</RX.View> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment