jctest-icons
v0.0.6
Published
A React component library with icons
Downloads
6
Maintainers
Readme
Icons Component Library
A React component library with icons built with Vite, TypeScript, and Vitest.
Installation
npm install @your-org/iconsUsage
Components
import { Button } from '@your-org/icons'
function App() {
return (
<Button variant="primary" size="md">
Click me
</Button>
)
}Icons
import { HeartIcon } from '@your-org/icons'
function App() {
return (
<HeartIcon size={24} color="red" />
)
}Development
# Install dependencies
npm install
# Start development server
npm run dev
# Run tests
npm test
# Build library
npm run build
# Type check
npm run typecheck
# Lint code
npm run lintPublishing
- Update version in
package.json - Build the library:
npm run build - Publish to npm:
npm publish
