Skip to content

Commit

Permalink
fix(Button): Remove circular dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Martinez authored and ooHmartY committed Jun 14, 2018
1 parent f64e612 commit 1017541
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Button/Badge.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import PropTypes from "prop-types";

import { StyledBadge } from "./";
import StyledBadge from "./Badge.styles";
import BUTTON_VARIANTS from "./constants";

const Badge = ({ children, variant, ...props }) => (
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/Badge.styles.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StyledButton } from "./";
import { StyledButton } from "./Base.styles";
import { typography } from "../../theme";

const StyledBadge = StyledButton.extend`
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button/RatingBadge.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import PropTypes from "prop-types";

import { StyledBadge } from "./";
import StyledBadge from "./Badge.styles";
import BUTTON_VARIANTS from "./constants";

const RatingBadge = ({
Expand Down

0 comments on commit 1017541

Please sign in to comment.