All the icons were designed by Dan Klammer.
Find the original SVG icons here.
npm install --save react-bytesize-icons
Here's an example for using the <Twitter/>
component.
import React from 'react';
import ReactDOM from 'react-dom';
import { Twitter } from 'react-bytesize-icons';
ReactDOM.render(
<Twitter width={50} height={50} color="#1da1f2" />,
document.getElementById('root')
);
You can also import this as following.
import Twitter from 'react-bytesize-icons/Twitter';
You should follow the import method which suits your needs. For details check #9.
Check out this guide on how to use the different styles/props listed in the table.