mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
directory adjust: delete entry index.js
This commit is contained in:
16
packages/icon/index.vue
Normal file
16
packages/icon/index.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<i :class="['van-icon', 'van-icon-' + name]" @click="$emit('click', $event)" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'van-icon',
|
||||
|
||||
props: {
|
||||
name: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
Reference in New Issue
Block a user