diff options
| author | mo khan <mo@mokhan.ca> | 2016-11-20 21:03:06 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-11-20 21:03:06 -0700 |
| commit | 8d8ae83687a4e152bccff336cd8ade928c07b732 (patch) | |
| tree | 15cbd40336705e388cfa7fb4b83741c274421f3c /app | |
| parent | 5623580f0b226ccdb8f977c63b0ccf3477dd1563 (diff) | |
something.
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/StatusBarBackground.js | 12 | ||||
| -rw-r--r-- | app/components/ViewContainer.js | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app/components/StatusBarBackground.js b/app/components/StatusBarBackground.js new file mode 100644 index 0000000..13404bf --- /dev/null +++ b/app/components/StatusBarBackground.js @@ -0,0 +1,12 @@ +import React, { Component, View } from 'react'; +import { Text } from 'react-native'; + +export default class StatusBarBackground extends Component { + render() { + return ( + <View style={{backgroundColor: 'pink'}, this.props.style || {}}> + <Text>Hello</Text> + </View> + ); + } +} diff --git a/app/components/ViewContainer.js b/app/components/ViewContainer.js new file mode 100644 index 0000000..22707aa --- /dev/null +++ b/app/components/ViewContainer.js @@ -0,0 +1,12 @@ +import React, { Component } from 'react'; +import { View, Text } from 'react-native'; + +export default class ViewContainer extends Component { + render() { + return ( + <View> + <Text>Status bar</Text> + </View> + ) + } +} |
