docs: Update README.md

This commit is contained in:
Cole Bemis 2017-11-18 20:54:45 -08:00 committed by GitHub
parent f243624fbd
commit b814a2b94b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,7 +218,7 @@ feather.icons.circle.toSvg({ class: 'foo bar' })
// '<svg class="feather feather-circle foo bar" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle></svg>' // '<svg class="feather feather-circle foo bar" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle></svg>'
``` ```
[View Source](https://github.com/colebemis/feather/blob/master/src/icons.js) [View Source](https://github.com/colebemis/feather/blob/master/src/icon.js)
### `feather.replace([attrs])` ### `feather.replace([attrs])`