{"_id":"@alexandresalome/bootstrap-react-icons","_rev":"1-f67ac0bfe754904fad976e2531dc7505","name":"@alexandresalome/bootstrap-react-icons","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@alexandresalome/bootstrap-react-icons","version":"0.0.1","description":"Bootstrap icons as TypeScript React components","keywords":["bootstrap","react","bootstrap-icons","typescript"],"publishConfig":{"access":"public"},"main":"dist/index.js","scripts":{"start":"rm -rf dist && ts-node generate-icons.ts && tsc","release":"release-it"},"author":"","license":"ISC","dependencies":{"bootstrap-icons":"^1.11","react":"^18.2"},"devDependencies":{"@types/node":"^20.10.6","@types/react":"^18.2.46","react":"^18.2.0","release-it":"^17.0.1","ts-node":"^10.9.2","typescript":"^5.3.3"},"_id":"@alexandresalome/bootstrap-react-icons@0.0.1","gitHead":"4a671ca80b7f8df85a6ee5b1490060e2fa432c2a","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-RUIBcl0vKOKwzd48Fn5dSRS2ZGSwPV72sE2kAkXBjFDoB+0GwbLIkc0cARVl4TcSf4lzLCMxzy092lZlZMsTeQ==","shasum":"3ffb448582911a7317be2862cb6c02b4dca4b3fc","tarball":"https://registry.npmjs.org/@alexandresalome/bootstrap-react-icons/-/bootstrap-react-icons-0.0.1.tgz","fileCount":4105,"unpackedSize":2347756,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZw8Fml1fgwf68Y5PRyISb/AStGQd28GGRqD05iU7rJAiEA2fRue8uvvVOWVoXpA78Uv6bLJ0VtKII7FgM5DTeWxcA="}]},"_npmUser":{"name":"alexandresalome","email":"alexandre.salome@platform.sh"},"directories":{},"maintainers":[{"name":"alexandresalome","email":"alexandre.salome@platform.sh"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bootstrap-react-icons_0.0.1_1705447804516_0.9501940891729559"},"_hasShrinkwrap":false},"0.0.2":{"name":"@alexandresalome/bootstrap-react-icons","version":"0.0.2","description":"Bootstrap icons as TypeScript React components","keywords":["bootstrap","react","bootstrap-icons","typescript"],"publishConfig":{"access":"public"},"main":"dist/index.js","scripts":{"start":"rm -rf dist && ts-node generate-icons.ts && tsc","release":"release-it"},"author":"","license":"ISC","dependencies":{"bootstrap-icons":"^1.11","react":"^18.2"},"devDependencies":{"@types/node":"^20.10.6","@types/react":"^18.2.46","react":"^18.2.0","release-it":"^17.0.1","ts-node":"^10.9.2","typescript":"^5.3.3"},"_id":"@alexandresalome/bootstrap-react-icons@0.0.2","gitHead":"bd27c31814f94e8a9dd6271c62439845d0806938","_nodeVersion":"20.12.2","_npmVersion":"10.5.2","dist":{"integrity":"sha512-SyW9/+CheEWEbQXc9fmUmyvfjGhe3yEkNmdSSBu+Dn910MNr4qrpKlEzasfiV7GkpWndxrqI6zYzbNo+vJv+Ow==","shasum":"fab71506209df676c670d6e9e3cd16eb1a45406f","tarball":"https://registry.npmjs.org/@alexandresalome/bootstrap-react-icons/-/bootstrap-react-icons-0.0.2.tgz","fileCount":4105,"unpackedSize":2348527,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4W4kKe+T/NBq/JXxAPsqGWGeU1QS2GLf9VfZDYuOm9AIhALN0GiEWeMMf9f4mV545rpH3yIbXN5dSILso9BpQ6uns"}]},"_npmUser":{"name":"alexandresalome","email":"alexandre.salome@platform.sh"},"directories":{},"maintainers":[{"name":"alexandresalome","email":"alexandre.salome@platform.sh"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bootstrap-react-icons_0.0.2_1714075267026_0.49988426636247496"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-16T23:30:04.375Z","0.0.1":"2024-01-16T23:30:04.858Z","modified":"2024-04-25T20:01:07.477Z","0.0.2":"2024-04-25T20:01:07.304Z"},"maintainers":[{"name":"alexandresalome","email":"alexandre.salome@platform.sh"}],"description":"Bootstrap icons as TypeScript React components","keywords":["bootstrap","react","bootstrap-icons","typescript"],"license":"ISC","readme":"Bootstrap React Icons\n=====================\n\nProvides Bootstrap React Icons as Typescript React Components.\n\n**Warning**: this project has no tests.\n\nUsage\n-----\n\nAdd the package to your project:\n\n```\nnpm install @alexandresalome/bootstrap-react-icons\n```\n\nIn your code:\n\n```jsx\nimport { SunIcon } from '@alexandresalome/bootstrap-react-icons';\n```\n\nAnd use it in your components to\n\n```jsx\nexport default function Title() {\n    return (\n        <p>\n            Hello world\n            {' '}\n            <SunIcon />\n        </p>\n    );\n}\n```\n\nThe supported props are:\n\n| Name | Description | Default |\n| --- | --- | --- |\n| `size?: number` | The size in pixels of the icon | 16 |\n| `className?: string` | The classname(s) to add to the svg | *undefined* |\n\nDevelopment\n-----------\n\nClone this repository, install dependencies, and run the `start` npm script:\n\n```\nnpm install\nnpm start\n```\n\nThe `src/` directory contains the code generated by `npm start`.\n\nSupported versions\n------------------\n\nThis library relies on two major vendor components, each component having their\nrelease cycle:\n\n1. [Bootstrap icons](https://icons.getbootstrap.com/)\n2. [React](https://react.dev/)\n\nThis library follows its release cycle and starts today with the 0.1 version.\nFor each major version, the supported vendor versions will be explicitly listed\nto facilitate the integration work.\n\nChangelog\n---------\n\n### 0.1-DEV\n\nRequired versions:\n\n- **Supported Bootstrap icons**: `^1.11`\n- **Supported React versions**: `^18.2`\n\nTested framework:\n\n- Gatsby: `^5.13`\n\nThis is the initial release of the library.\n\nFeatures:\n\n- React components for the icons\n\nTroubleshooting\n---------------\n\n### SVG transformation to react components\n\nMake sure your bundler has a transformer for SVG files.\n\nFor Gatsby, use the [gatsby-plugin-svgr](https://www.gatsbyjs.com/plugins/gatsby-plugin-svgr/)\nplugin. If you are getting invalid image sizes, try disabling svgo in the plugin\nconfiguration.\n\n### Typescript types for SVG files\n\nAdd this to your types:\n\n```\n# svg.d.ts\ndeclare module \"*.svg\" {\n    import React from \"react\";\n    export const ReactComponent: React.FunctionComponent<\n        React.SVGProps<SVGSVGElement>\n    >;\n}\n```\n","readmeFilename":"README.md"}