Skip to content

Commit 9e6791a

Browse files
committed
Degree Component initial commit
1 parent 4aa58bd commit 9e6791a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
'use strict'
2+
3+
var React = require('react-native');
4+
5+
var {
6+
View,
7+
StyleSheet
8+
} = React;
9+
10+
var DegreeComponent = React.createClass({
11+
render: function() {
12+
return (
13+
<View style={[styles.degree, this.props.style]}></View>
14+
);
15+
}
16+
});
17+
18+
var styles = StyleSheet.create({
19+
degree: {
20+
borderColor: 'black',
21+
backgroundColor: 'transparent',
22+
borderWidth: 1
23+
}
24+
});
25+
26+
module.exports = DegreeComponent;

0 commit comments

Comments
 (0)