Made with create-react-library
fork from react-social-icons
npm install --save react-icons-context @material-ui/core
yarn add react-icons-context @material-ui/core
import React from 'react';
import {
ReactIconsProvider,
defaultIcons,
SocialIcon,
} from 'react-icons-context';
const App = () => {
return (
<ReactIconsProvider value={defaultIcons}>
<SocialIcon network="facebook" />
<SocialIcon url="https://github.com/MohammedFaragallah" />
</ReactIconsProvider>
);
};
- tree shaking support
- more default icons
- remove material-ui dependency (maybe)
MIT © MohammedFaragallah