Skip to content

Commit

Permalink
fix(deps): update dependency react-feather to v2 (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and douglasduteil committed Aug 26, 2019
1 parent 30ff8ab commit 49aacc5
Show file tree
Hide file tree
Showing 8 changed files with 789 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/code-du-travail-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react-autosuggest": "9.4.3",
"react-delay": "^0.1.0",
"react-dom": "^16.9.0",
"react-feather": "1.1.0",
"react-feather": "2.0.3",
"react-final-form": "^4.1.0",
"react-final-form-arrays": "^2.0.3",
"react-final-form-listeners": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/code-du-travail-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@reach/dialog": "^0.2.9",
"polished": "^3.4.1",
"react-accessible-accordion": "^2.4.5",
"react-feather": "1.1.0",
"react-feather": "2.0.3",
"react-tabs": "^3.0.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/code-du-travail-ui/src/Button/doc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ menu: Component
---

import { Playground, Props } from "docz";
import IconClose from "react-feather/dist/icons/x";
import IconEnlarge from "react-feather/dist/icons/maximize";
import { X } from "react-feather";
import { Maximize } from "react-feather";
import Section from "../layout/Section"
import { variants } from "../theme";
import Button from ".";
Expand Down Expand Up @@ -36,12 +36,12 @@ import Button from ".";
</Section>
<Section>
<Button variant="icon">
<IconClose />
<X />
</Button>
</Section>
<Section>
<Button variant="icon">
<IconEnlarge />
<Maximize />
</Button>
</Section>
</Playground>
Expand Down
2 changes: 1 addition & 1 deletion packages/code-du-travail-ui/src/Modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import PropTypes from "prop-types";
import { DialogContent, DialogOverlay } from "@reach/dialog";
import styled from "styled-components";
import X from "react-feather/dist/icons/x";
import { X } from "react-feather";
import { box, breakpoints, colors, spacing } from "../theme";
import ScreenReaderOnly from "../ScreenReaderOnly";

Expand Down
Loading

0 comments on commit 49aacc5

Please sign in to comment.