super-graph/docs/guide/.vuepress/components/Card.vue

19 lines
324 B
Vue
Raw Normal View History

<template>
2020-04-11 22:41:10 +02:00
<div class="shadow p-4 flex items-start" :class="className">
<slot name="image"></slot>
<div class="pl-4">
<h2 class="p-0">
<slot name="title"></slot>
</h2>
<p>
<slot name="body"></slot>
</p>
</div>
</div>
</template>
<script>
export default {
props: ["className"]
}
</script>