Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
- remove duplicate ColoredTabs classes and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy committed Jan 23, 2017
1 parent 9d01600 commit 0076b8b
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 264 deletions.
46 changes: 0 additions & 46 deletions __tests__/e2e/07_ColoredTabs.test.js

This file was deleted.

46 changes: 0 additions & 46 deletions __tests__/e2e/07_FileTabs.test.js

This file was deleted.

76 changes: 38 additions & 38 deletions __tests__/unit/__snapshots__/Storyshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3112,7 +3112,7 @@ exports[`UIExplorer components <Dash /> Thickness of each dash - Prop: dashThick
style={undefined} />
`;

exports[`UIExplorer components <FileTabs /> Simple example - Props: default 1`] = `
exports[`UIExplorer components <FileTabs /> Simple example - Props: color 1`] = `
<View
style={
Array [
Expand Down Expand Up @@ -3154,7 +3154,9 @@ exports[`UIExplorer components <FileTabs /> Simple example - Props: default 1`]
},
undefined,
],
undefined,
Object {
"backgroundColor": "crimson",
},
false,
]
}
Expand All @@ -3175,7 +3177,7 @@ exports[`UIExplorer components <FileTabs /> Simple example - Props: default 1`]
undefined,
]
}>
Left
Red
</Text>
</View>
<View
Expand Down Expand Up @@ -3206,7 +3208,9 @@ exports[`UIExplorer components <FileTabs /> Simple example - Props: default 1`]
},
undefined,
],
undefined,
Object {
"backgroundColor": "orange",
},
false,
]
}
Expand All @@ -3227,7 +3231,7 @@ exports[`UIExplorer components <FileTabs /> Simple example - Props: default 1`]
undefined,
]
}>
Center
Orange
</Text>
</View>
<View
Expand Down Expand Up @@ -3258,7 +3262,9 @@ exports[`UIExplorer components <FileTabs /> Simple example - Props: default 1`]
},
undefined,
],
undefined,
Object {
"backgroundColor": "chartreuse",
},
false,
]
}
Expand All @@ -3279,26 +3285,9 @@ exports[`UIExplorer components <FileTabs /> Simple example - Props: default 1`]
undefined,
]
}>
Right
Green
</Text>
</View>
</View>
`;

exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`] = `
<View
style={
Array [
Object {
"alignItems": "flex-end",
"flex": 1,
"flexDirection": "row",
"height": 60,
"justifyContent": "space-around",
},
undefined,
]
}>
<View
accessibilityComponentType={undefined}
accessibilityLabel={undefined}
Expand Down Expand Up @@ -3328,7 +3317,7 @@ exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`]
undefined,
],
Object {
"backgroundColor": "crimson",
"backgroundColor": "dodgerblue",
},
false,
]
Expand All @@ -3350,9 +3339,26 @@ exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`]
undefined,
]
}>
Red
Blue
</Text>
</View>
</View>
`;

exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: default 1`] = `
<View
style={
Array [
Object {
"alignItems": "flex-end",
"flex": 1,
"flexDirection": "row",
"height": 60,
"justifyContent": "space-around",
},
undefined,
]
}>
<View
accessibilityComponentType={undefined}
accessibilityLabel={undefined}
Expand Down Expand Up @@ -3381,9 +3387,7 @@ exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`]
},
undefined,
],
Object {
"backgroundColor": "orange",
},
undefined,
false,
]
}
Expand All @@ -3404,7 +3408,7 @@ exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`]
undefined,
]
}>
Orange
Left
</Text>
</View>
<View
Expand Down Expand Up @@ -3435,9 +3439,7 @@ exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`]
},
undefined,
],
Object {
"backgroundColor": "chartreuse",
},
undefined,
false,
]
}
Expand All @@ -3458,7 +3460,7 @@ exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`]
undefined,
]
}>
Green
Center
</Text>
</View>
<View
Expand Down Expand Up @@ -3489,9 +3491,7 @@ exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`]
},
undefined,
],
Object {
"backgroundColor": "dodgerblue",
},
undefined,
false,
]
}
Expand All @@ -3512,7 +3512,7 @@ exports[`UIExplorer components <FileTabs /> Simple example 2 - Props: color 1`]
undefined,
]
}>
Blue
Right
</Text>
</View>
</View>
Expand Down
43 changes: 0 additions & 43 deletions src/ColoredTabs/ColoredTabs.js

This file was deleted.

67 changes: 0 additions & 67 deletions src/ColoredTabs/Item.js

This file was deleted.

1 change: 0 additions & 1 deletion src/ColoredTabs/index.js

This file was deleted.

Loading

0 comments on commit 0076b8b

Please sign in to comment.