Skip to content

Commit

Permalink
chore: cleanup video-label
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhedonia committed Mar 7, 2018
1 parent e890977 commit 2ed1f9d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 29 deletions.
2 changes: 1 addition & 1 deletion packages/video-label/__tests__/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from "react";
import renderer from "react-test-renderer";
import VideoLabel from "../video-label";

module.exports = () => {
export default () => {
it("renders VideoLabel", () => {
const tree = renderer
.create(<VideoLabel title="swimming" color="#008347" />)
Expand Down
9 changes: 0 additions & 9 deletions packages/video-label/style/index.android.js

This file was deleted.

12 changes: 10 additions & 2 deletions packages/video-label/style/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import sharedStyles from "./shared";
import { fonts } from "@times-components/styleguide";

const styles = {
title: {
...sharedStyles.title
fontFamily: fonts.supporting,
fontSize: 12,
lineHeight: 12,
fontWeight: "400",
letterSpacing: 1.2,
padding: 0,
margin: 0,
position: "relative",
top: 2
}
};

Expand Down
17 changes: 0 additions & 17 deletions packages/video-label/style/shared.js

This file was deleted.

0 comments on commit 2ed1f9d

Please sign in to comment.