Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: feathericons/react-feather
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d7496c132dd8dacf1715c49a6df97d8bcd92d5e8
Choose a base ref
...
head repository: feathericons/react-feather
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c9698fa53e4bd577cdeffce18b054b97a3d765fc
Choose a head ref
  • 11 commits
  • 5 files changed
  • 5 contributors

Commits on Apr 25, 2020

  1. Bump lodash from 4.17.11 to 4.17.15

    Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
    - [Release notes](https://github.com/lodash/lodash/releases)
    - [Commits](lodash/lodash@4.17.11...4.17.15)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 25, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ea22185 View commit details

Commits on Apr 26, 2020

  1. Merge pull request #51 from feathericons/dependabot/npm_and_yarn/loda…

    …sh-4.17.15
    
    Bump lodash from 4.17.11 to 4.17.15
    carmelopullara authored Apr 26, 2020
    Copy the full SHA
    4ecc58a View commit details

Commits on Oct 21, 2020

  1. Export IconProps typedef so projects can re-use

    - exporting IconProps so it can be available to TypeScript components using react-feather - as is it needs to duplicated, which is fragile because react-feather could change
    - renamed "Props" to "IconProps"
    sbecker authored Oct 21, 2020
    Copy the full SHA
    d967a55 View commit details
  2. Export Icon as well

    sbecker authored Oct 21, 2020
    Copy the full SHA
    16c5bae View commit details

Commits on Oct 22, 2020

  1. Add link to feather icons

    We want to be able to preview the icons in this package so a link is helpful!
    atesija authored Oct 22, 2020
    Copy the full SHA
    5a5e868 View commit details

Commits on Oct 29, 2020

  1. Copy the full SHA
    933d62c View commit details

Commits on Nov 17, 2020

  1. Merge pull request #71 from SyaOS/react-17

    Add React@^17 to peerDependencies
    carmelopullara authored Nov 17, 2020
    Copy the full SHA
    5fabff3 View commit details
  2. Merge pull request #70 from atesija/master

    Add link to feather icons
    carmelopullara authored Nov 17, 2020
    Copy the full SHA
    3297db6 View commit details
  3. Merge pull request #69 from sbecker/patch-1

    Export IconProps typedef so projects can re-use
    carmelopullara authored Nov 17, 2020
    Copy the full SHA
    d03640e View commit details
  4. Update build script

    carmelopullara committed Nov 17, 2020
    Copy the full SHA
    11f51d6 View commit details
  5. 2.0.9

    carmelopullara committed Nov 17, 2020
    Copy the full SHA
    c9698fa View commit details
Showing with 11 additions and 108 deletions.
  1. +1 −0 README.md
  2. +2 −2 bin/build.js
  3. +4 −102 package-lock.json
  4. +2 −2 package.json
  5. +2 −2 src/index.d.ts
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@
react-feather is a collection of simply beautiful open source icons for React.js. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and readability.

#### Based on Feather Icons ```v4.28.0```
https://feathericons.com/

### Installation
yarn add react-feather
4 changes: 2 additions & 2 deletions bin/build.js
Original file line number Diff line number Diff line change
@@ -19,12 +19,12 @@ if (!fs.existsSync(dir)) {
const initialTypeDefinitions = `/// <reference types="react" />
import { FC, SVGAttributes } from 'react';
interface Props extends SVGAttributes<SVGElement> {
export interface IconProps extends SVGAttributes<SVGElement> {
color?: string;
size?: string | number;
}
type Icon = FC<Props>;
export type Icon = FC<IconProps>;
`;

fs.writeFileSync(path.join(rootDir, 'src', 'index.js'), '', 'utf-8');
106 changes: 4 additions & 102 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-feather",
"version": "2.0.8",
"version": "2.0.9",
"description": "React component for Feather icons",
"main": "build/index.js",
"module": "dist/index.js",
@@ -56,7 +56,7 @@
"uppercamelcase": "^3.0.0"
},
"peerDependencies": {
"react": "^16.8.6"
"react": "^16.8.6 || ^17"
},
"dependencies": {
"prop-types": "^15.7.2"
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/// <reference types="react" />
import { FC, SVGAttributes } from 'react';

interface Props extends SVGAttributes<SVGElement> {
export interface IconProps extends SVGAttributes<SVGElement> {
color?: string;
size?: string | number;
}

type Icon = FC<Props>;
export type Icon = FC<IconProps>;
export const Activity: Icon;
export const Airplay: Icon;
export const AlertCircle: Icon;