Created
July 19, 2020 00:42
-
-
Save ishiduca/e357275730b61bd64a423a0c2b788ba3 to your computer and use it in GitHub Desktop.
tabler-icons
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var yo = require('yo-yo') | |
var x = yo`<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-square-x" width="44" height="44" viewBox="0 0 24 24" stroke-width="1.5" stroke="#2c3e50" fill="none" stroke-linecap="round" stroke-linejoin="round"> | |
<path stroke="none" d="M0 0h24v24H0z"/> | |
<rect x="4" y="4" width="16" height="16" rx="2" /> | |
<path d="M10 10l4 4m0 -4l-4 4" /> | |
</svg>` | |
if (process.brwoser) { | |
document = require('global/document') | |
document.body.appendChild(x) | |
} else { | |
console.log(String(x)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment