Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active September 24, 2016 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/c73ed96bf4a3c7b4882a97d4510ab769 to your computer and use it in GitHub Desktop.
Save matthieu-D/c73ed96bf4a3c7b4882a97d4510ab769 to your computer and use it in GitHub Desktop.
import {Component} from '@angular/core';
import {StyleSheet} from 'react-native';
@Component({
selector: 'hello-app',
host: {position: 'abolute', top: '0', left: '0', bottom: '0', right: '0'},
template: `
<View>
<Text>hello</Text>
</View>`
})
export class HelloApp {
styles: any;
constructor() {
this.styles = StyleSheet.create({
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment