Skip to content

Commit

Permalink
Update example for removeAttrs (#1401)
Browse files Browse the repository at this point in the history
Old example didn't work with `removeAttrs` plugin. This worked for me and also validated here:
#1344
  • Loading branch information
Scionar committed Mar 3, 2021
1 parent 318bd5b commit f3a6cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const config = {
'convertShapeToPath',
'sortAttrs',
'removeDimensions',
{ name: 'removeAttrs', attrs: '(stroke|fill)' },
{ name: 'removeAttrs', params: { attrs: '(stroke|fill)' } },
],
};

Expand Down

0 comments on commit f3a6cf2

Please sign in to comment.