Skip to content

Commit

Permalink
added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sankhadeep committed Jan 13, 2017
1 parent c8925fb commit 80c0ea6
Show file tree
Hide file tree
Showing 5 changed files with 2,365 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
exports[`test renders regular badge 1`] = `
<View
style={
Object {
"alignSelf": "flex-start",
"backgroundColor": "#ED1727",
"borderRadius": 13.5,
"height": 27,
"padding": 0,
"paddingHorizontal": 10,
}
}>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
style={
Object {
"backgroundColor": "transparent",
"color": "#fff",
"fontFamily": "Roboto",
"fontSize": 15,
"lineHeight": 23,
"textAlign": "center",
}
}>
2
</Text>
</View>
`;
30 changes: 30 additions & 0 deletions dist/Components/Widgets/Badge/__snapshots__/Badge.ios.spec.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
exports[`test renders regular badge 1`] = `
<View
style={
Object {
"alignSelf": "flex-start",
"backgroundColor": "#ED1727",
"borderRadius": 13.5,
"height": 27,
"padding": 3,
"paddingHorizontal": 10,
}
}>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
style={
Object {
"backgroundColor": "transparent",
"color": "#fff",
"fontFamily": "HelveticaNeue",
"fontSize": 15,
"lineHeight": 19,
"textAlign": "center",
}
}>
2
</Text>
</View>
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
exports[`test renders regular button 1`] = `
<View
accessibilityComponentType={undefined}
accessibilityLabel={undefined}
accessibilityTraits={undefined}
accessible={true}
hitSlop={undefined}
onLayout={undefined}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
Object {
"alignItems": "center",
"alignSelf": "flex-start",
"backgroundColor": "#5067FF",
"borderColor": "#5067FF",
"borderRadius": 5,
"borderWidth": 0,
"elevation": 2,
"flexDirection": "row",
"height": 38,
"justifyContent": "space-around",
"opacity": 1,
"paddingHorizontal": 8,
"paddingVertical": 6,
"shadowColor": "#000",
"shadowOffset": Object {
"height": 2,
"width": 0,
},
"shadowOpacity": 0.2,
"shadowRadius": 2,
}
}
testID={undefined}>
<Text
accessible={true}
allowFontScaling={true}
ellipsizeMode="tail"
style={
Object {
"backgroundColor": "transparent",
"color": "#fff",
"fontFamily": "HelveticaNeue",
"fontSize": 16.5,
"lineHeight": 19,
"marginLeft": 0,
"marginRight": 0,
}
}>
Test
</Text>
</View>
`;
Loading

0 comments on commit 80c0ea6

Please sign in to comment.