kopia lustrzana https://github.com/badgen/badgen
chore: update docs in readme
rodzic
1e34703c0f
commit
acb7a2fc73
|
@ -22,8 +22,10 @@ const badgen = require('badgen')
|
|||
const svgString = badgen({
|
||||
subject: 'npm', // <Text>
|
||||
status: 'v1.2.3', // <Text>
|
||||
color: 'blue' // <Color RGB> or <Color Name>, optional
|
||||
style: 'flat' // 'flat' or undefined, optional
|
||||
color: 'blue', // <Color RGB> or <Color Name>, optional
|
||||
style: 'flat', // 'flat' or undefined, optional
|
||||
emoji: true, // Support emoji in text, optional
|
||||
icon: 'data:image/svg+xml;base64,PHN2Zy...' // Use icon, optional
|
||||
})
|
||||
```
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue