diff --git a/README.md b/README.md
index b6433a48..8f34272a 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/bin/build.js b/bin/build.js
index f8f49c4b..1c177ecf 100644
--- a/bin/build.js
+++ b/bin/build.js
@@ -19,12 +19,12 @@ if (!fs.existsSync(dir)) {
const initialTypeDefinitions = `///
import { FC, SVGAttributes } from 'react';
-interface Props extends SVGAttributes {
+export interface IconProps extends SVGAttributes {
color?: string;
size?: string | number;
}
-type Icon = FC;
+export type Icon = FC;
`;
fs.writeFileSync(path.join(rootDir, 'src', 'index.js'), '', 'utf-8');
@@ -66,7 +66,7 @@ icons.forEach((i) => {
import React, {forwardRef} from 'react';
import PropTypes from 'prop-types';
- const ${ComponentName} = forwardRef(({ color = 'currentColor', size = 24, ...rest }, ref) => {
+ const ${ComponentName} = forwardRef(({ color = 'currentColor', size = 1em, ...rest }, ref) => {
return (