mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
feat: Add SVG sprite support (#319)
This commit is contained in:
14
bin/__tests__/__snapshots__/build-sprite-string.test.js.snap
Normal file
14
bin/__tests__/__snapshots__/build-sprite-string.test.js.snap
Normal file
@@ -0,0 +1,14 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`builds sprite correctly 1`] = `
|
||||
"<svg xmlns=\\"http://www.w3.org/2000/svg\\">
|
||||
<defs>
|
||||
<symbol id=\\"icon1\\" viewBox=\\"0 0 24 24\\">
|
||||
<line x1=\\"23\\" y1=\\"1\\" x2=\\"1\\" y2=\\"23\\"></line><line x1=\\"1\\" y1=\\"1\\" x2=\\"23\\" y2=\\"23\\"></line>
|
||||
</symbol>
|
||||
<symbol id=\\"icon2\\" viewBox=\\"0 0 24 24\\">
|
||||
<circle cx=\\"12\\" cy=\\"12\\" r=\\"11\\"></circle>
|
||||
</symbol>
|
||||
</defs>
|
||||
</svg>"
|
||||
`;
|
||||
Reference in New Issue
Block a user