2.0.2 • Published 3 years ago

react-icons-context v2.0.2

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

react-icons-context

Made with create-react-library

NPM JavaScript Style Guide

fork from react-social-icons

Install

npm install --save react-icons-context @material-ui/core
yarn add react-icons-context @material-ui/core

Usage

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>
	);
};

TODO

  • tree shaking support
  • more default icons
  • remove material-ui dependency (maybe)

License

MIT © MohammedFaragallah

react-icons-context

2.0.2

3 years ago

2.0.1

3 years ago

1.2.2

3 years ago

2.0.0

3 years ago

1.2.1

3 years ago

1.2.0

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago