@rdicons/react-bi 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +25 -0
- package/LICENSES/bi.txt +31 -0
- package/README.md +19 -2
- package/index.d.ts +4170 -0
- package/index.js +2086 -0
- package/package.json +51 -4
- package/runtime.d.ts +25 -0
- package/runtime.js +40 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 rdicons contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
The icon sets bundled at build time are third-party works under their own
|
|
24
|
+
licenses (see THIRD_PARTY_NOTICES.md). The MIT license above covers this
|
|
25
|
+
repository's source code only.
|
package/LICENSES/bi.txt
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Bootstrap (bi)
|
|
2
|
+
Author: The Bootstrap Authors (https://github.com/twbs/icons)
|
|
3
|
+
License: MIT [MIT]
|
|
4
|
+
Full text: https://github.com/twbs/icons/blob/main/LICENSE.md
|
|
5
|
+
|
|
6
|
+
These icons are redistributed unmodified (apart from format conversion) under the license above.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
------------------------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
MIT License
|
|
12
|
+
|
|
13
|
+
Copyright (c) The Bootstrap Authors
|
|
14
|
+
|
|
15
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
16
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
17
|
+
in the Software without restriction, including without limitation the rights
|
|
18
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
19
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
20
|
+
furnished to do so, subject to the following conditions:
|
|
21
|
+
|
|
22
|
+
The above copyright notice and this permission notice shall be included in all
|
|
23
|
+
copies or substantial portions of the Software.
|
|
24
|
+
|
|
25
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
28
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
29
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @rdicons/react-bi
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Bootstrap**: 2,084 icons as React components. This package contains only this one library, so it stays small. Want everything? Use [`@rdicons/react`](https://www.npmjs.com/package/@rdicons/react).
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @rdicons/react-bi
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
```tsx
|
|
10
|
+
import { Icon0Circle } from '@rdicons/react-bi'
|
|
11
|
+
|
|
12
|
+
<Icon0Circle size={24} color="#4f46e5" />
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Props: `size` (default 24), `color` (default: text color), `strokeWidth`, `title` (accessible name) and any SVG prop. Needs React 17+. ESM only, with types.
|
|
16
|
+
|
|
17
|
+
Find the exact component name for an icon on https://rdicons.vimalbhatt.com/library/bi: the page shows the import line for each icon.
|
|
18
|
+
|
|
19
|
+
License: MIT (The Bootstrap Authors). The full text is in the `LICENSES` folder.
|
|
20
|
+
Part of [rdicons](https://rdicons.vimalbhatt.com). The wrapper code is MIT.
|