cc-react-icon-package
v1.0.1
Published
A custom icon package for React applications
Readme
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-packageUsage
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:
whatsappfacebookinstagramlinkedin
