1.0.1 • Published 5 months ago
cc-react-icon-package v1.0.1
cc-react-icon-package
A simple and efficient React icon package that embeds SVG icons as inline components.
Installation
Install the package using npm or yarn:
npm install cc-react-icon-package
Usage
Import the Icon
component and use it in your React application:
import React from 'react';
import { Icon } from 'cc-react-icon-package';
const App = () => {
return (
<div>
<Icon name="whatsapp" size={50} />
<Icon name="facebook" size={50} />
<Icon name="instagram" size={50} />
<Icon name="linkedin" size={50} />
</div>
);
};
export default App;
Available Icons
The package includes the following icons:
whatsapp
facebook
instagram
linkedin