Skip to content

Instantly share code, notes, and snippets.

@david-mart
Created May 23, 2020 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save david-mart/feb34bfae38550a1d598b6b3950d18a8 to your computer and use it in GitHub Desktop.
Save david-mart/feb34bfae38550a1d598b6b3950d18a8 to your computer and use it in GitHub Desktop.
<template>
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="28"
height="28"
viewBox="0 0 28 28"
>
<defs>
<circle id="my-location-a" cx="330" cy="366" r="8" />
</defs>
<g fill="none" fill-rule="evenodd" transform="translate(-316 -352)">
<use :fill="color" xlink:href="#my-location-a"/>
<circle cx="330" cy="366" r="11" :stroke="color" stroke-opacity="0.3" stroke-width="6" />
<circle cx="330" cy="366" r="7" stroke="#FFF" stroke-linejoin="square" stroke-width="2" />
</g>
</svg>
</template>
<script>
export default {
props: ['color']
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment