bot-sp-react-icons
v1.0.2
Published
SocialPilot icon system — icomoon + SVG brand icons
Readme
bot-sp-react-icons
A reusable icon package for SocialPilot apps with:
- IcoMoon-based icons
- bundled SVG brand icons
- React-friendly exports for direct usage
Installation
npm install bot-sp-react-iconsUsage
import Icon from 'bot-sp-react-icons';
export function Example() {
return <Icon icon="facebook" size={24} />;
}Notes
- This package is intended for public npm consumption.
- Make sure the package is built before publishing.
- TODO: rename the package after testing if you want a more final/public name.
Build
npm run buildPublish to npm
- Make sure the package name is final and available on npm.
- Build the package:
npm run build- Verify the package contents:
npm pack --dry-run- Publish:
npm publish --access publicUpgrade a published version
- Update the version in package.json.
- Rebuild the package.
- Publish the new version:
npm version patch
npm run build
npm publish --access public