vant/packages/tag/index.vue
2018-04-25 11:50:10 +08:00

26 lines
334 B
Vue

<template>
<span
class="van-hairline--surround"
:class="b({
mark,
plain,
[type]: type
})"
>
<slot />
</span>
</template>
<script>
import create from '../utils/create';
export default create({
name: 'tag',
props: {
type: String,
mark: Boolean,
plain: Boolean
}
});
</script>