@@ -23,9 +23,17 @@ yarn add @uiw/react-shields
23
23
24
24
## Usage
25
25
26
+ ``` jsx
27
+ import { Github , Coverage , Npm } from ' @uiw/react-shields' ;
28
+ // Or
29
+ import Npm from ' @uiw/react-shields/npm' ;
30
+ import Coverage from ' @uiw/react-shields/coverage' ;
31
+ import Github from ' @uiw/react-shields/github' ;
32
+ ```
33
+
26
34
``` jsx mdx:preview
27
35
import React from ' react' ;
28
- import { Github } from ' @uiw/react-shields' ;
36
+ import Github from ' @uiw/react-shields/github ' ;
29
37
30
38
export default function Demo () {
31
39
return (
@@ -51,7 +59,7 @@ export default function Demo() {
51
59
52
60
``` jsx mdx:preview
53
61
import React from ' react' ;
54
- import { Github } from ' @uiw/react-shields' ;
62
+ import Github from ' @uiw/react-shields/github ' ;
55
63
56
64
export default function Demo () {
57
65
return (
@@ -72,7 +80,7 @@ export default function Demo() {
72
80
73
81
``` jsx mdx:preview
74
82
import React from ' react' ;
75
- import { Npm } from ' @uiw/react-shields' ;
83
+ import Npm from ' @uiw/react-shields/npm ' ;
76
84
77
85
export default function Demo () {
78
86
return (
@@ -99,7 +107,7 @@ export default function Demo() {
99
107
100
108
``` jsx mdx:preview
101
109
import React from ' react' ;
102
- import { Npm } from ' @uiw/react-shields' ;
110
+ import Npm from ' @uiw/react-shields/npm ' ;
103
111
104
112
export default function Demo () {
105
113
return (
@@ -119,7 +127,7 @@ export default function Demo() {
119
127
120
128
``` jsx mdx:preview
121
129
import React from ' react' ;
122
- import { Npm } from ' @uiw/react-shields' ;
130
+ import Npm from ' @uiw/react-shields/npm ' ;
123
131
124
132
export default function Demo () {
125
133
return (
@@ -138,7 +146,7 @@ export default function Demo() {
138
146
139
147
``` jsx mdx:preview
140
148
import React from ' react' ;
141
- import { Github } from ' @uiw/react-shields' ;
149
+ import Github from ' @uiw/react-shields/github ' ;
142
150
143
151
export default function Demo () {
144
152
return (
@@ -167,7 +175,7 @@ export default function Demo() {
167
175
168
176
``` jsx mdx:preview
169
177
import React from ' react' ;
170
- import { Github } from ' @uiw/react-shields' ;
178
+ import Github from ' @uiw/react-shields/github ' ;
171
179
172
180
export default function Demo () {
173
181
return (
@@ -187,7 +195,7 @@ export default function Demo() {
187
195
188
196
``` jsx mdx:preview
189
197
import React from ' react' ;
190
- import { Github } from ' @uiw/react-shields' ;
198
+ import Github from ' @uiw/react-shields/github ' ;
191
199
192
200
export default function Demo () {
193
201
return (
@@ -209,7 +217,7 @@ export default function Demo() {
209
217
210
218
``` jsx mdx:preview
211
219
import React from ' react' ;
212
- import { Github } from ' @uiw/react-shields' ;
220
+ import Github from ' @uiw/react-shields/github ' ;
213
221
214
222
export default function Demo () {
215
223
return (
@@ -233,7 +241,7 @@ export default function Demo() {
233
241
234
242
``` jsx mdx:preview
235
243
import React from ' react' ;
236
- import { Github } from ' @uiw/react-shields' ;
244
+ import Github from ' @uiw/react-shields/github ' ;
237
245
238
246
export default function Demo () {
239
247
return (
@@ -251,7 +259,7 @@ export default function Demo() {
251
259
252
260
``` jsx mdx:preview
253
261
import React from ' react' ;
254
- import { Github } from ' @uiw/react-shields' ;
262
+ import Github from ' @uiw/react-shields/github ' ;
255
263
256
264
export default function Demo () {
257
265
return (
@@ -270,7 +278,7 @@ export default function Demo() {
270
278
271
279
``` jsx mdx:preview
272
280
import React from ' react' ;
273
- import { Coverage } from ' @uiw/react-shields' ;
281
+ import Coverage from ' @uiw/react-shields/coverage ' ;
274
282
275
283
export default function Demo () {
276
284
return (
@@ -289,7 +297,7 @@ export default function Demo() {
289
297
290
298
``` jsx mdx:preview
291
299
import React from ' react' ;
292
- import { Coverage } from ' @uiw/react-shields' ;
300
+ import Coverage from ' @uiw/react-shields/coverage ' ;
293
301
294
302
export default function Demo () {
295
303
return (
0 commit comments