Introduce component wrapper for svg icons

This commit is contained in:
Liyas Thomas
2020-08-17 16:07:36 +05:30
parent 54e06d26bc
commit 3924370b3e
39 changed files with 284 additions and 52 deletions

View File

@@ -8,7 +8,7 @@
</label>
</li>
<button class="icon" @click="deleteFeed(feed)">
<i class="material-icons">delete</i>
<deleteIcon class="material-icons" />
</button>
</div>
<div class="show-on-large-screen">
@@ -50,8 +50,10 @@ ol {
<script>
import { fb } from "~/helpers/fb"
import deleteIcon from "~/static/icons/delete-24px.svg?inline"
export default {
components: { deleteIcon },
data() {
return {
fb,