Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Hamilton committed Aug 12, 2020
1 parent 4a2742b commit 5fbcc42
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
8 changes: 4 additions & 4 deletions src/bottomSheet/__tests__/__snapshots__/BottomSheet.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`BottomSheet Component onLayout should be called 1`] = `
<View
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -98,7 +98,7 @@ exports[`BottomSheet Component onLayout should be called 1`] = `
<View
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -272,7 +272,7 @@ Array [
<View
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -355,7 +355,7 @@ Array [
<View
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down
3 changes: 1 addition & 2 deletions src/list/ListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const chevronDefaultProps = {
color: '#D1D1D6',
name: Platform.OS === 'ios' ? 'ios-arrow-forward' : 'keyboard-arrow-right',
size: 16,
containerStyle: { alignSelf: 'center' },
};

const checkmarkDefaultProps = (theme) => ({
Expand Down Expand Up @@ -230,7 +229,7 @@ const styles = {
},
}),
flexDirection: 'row',
alignSelf: 'center',
alignItems: 'center',
backgroundColor: 'white',
borderColor: theme.colors.divider,
}),
Expand Down
23 changes: 9 additions & 14 deletions src/list/__tests__/__snapshots__/ListItem.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`ListItem component should apply values from theme 1`] = `
<View
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -95,7 +95,7 @@ exports[`ListItem component should render with avatar 1`] = `
pad={16}
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "peru",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -123,7 +123,7 @@ exports[`ListItem component should render with input 1`] = `
pad={16}
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -177,7 +177,7 @@ exports[`ListItem component should render with left icon 1`] = `
pad={16}
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -211,7 +211,7 @@ exports[`ListItem component should render with left icon component 1`] = `
pad={16}
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -242,7 +242,7 @@ exports[`ListItem component should render with right icon component 1`] = `
pad={16}
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -273,7 +273,7 @@ exports[`ListItem component should render with switch 1`] = `
pad={16}
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderBottomWidth": 0.5,
"borderColor": "#bcbbc1",
Expand All @@ -297,11 +297,6 @@ exports[`ListItem component should render with switch 1`] = `
/>
<Themed.Icon
color="#D1D1D6"
containerStyle={
Object {
"alignSelf": "center",
}
}
name="ios-arrow-forward"
size={16}
type="ionicon"
Expand All @@ -317,7 +312,7 @@ exports[`ListItem component should render with title and subtitle 1`] = `
pad={16}
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down Expand Up @@ -389,7 +384,7 @@ exports[`ListItem component should render without issues 1`] = `
pad={16}
style={
Object {
"alignSelf": "center",
"alignItems": "center",
"backgroundColor": "white",
"borderColor": "#bcbbc1",
"flexDirection": "row",
Expand Down

0 comments on commit 5fbcc42

Please sign in to comment.