Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 21 additions & 11 deletions src/components/NcEmptyContent/NcEmptyContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,27 @@ Use this component to display a message about an empty content.
Providing an icon, title, and a description is strongly advised.

```
<NcEmptyContent>
No comments
<template #icon>
<Comment />
</template>
<template #desc>No comments in here</template>
</NcEmptyContent>
<template>
<NcEmptyContent>
No comments
<template #icon>
<Comment />
</template>
<template #desc>No comments in here</template>
</NcEmptyContent>
</template>

<script>
import Comment from 'vue-material-design-icons/Comment'

export default {
components: {
Comment,
},
}
</script>
```

```
<template>
<NcEmptyContent>
Expand All @@ -48,16 +61,13 @@ Providing an icon, title, and a description is strongly advised.

<script>
import Airplane from 'vue-material-design-icons/Airplane'
import Comment from 'vue-material-design-icons/Comment'

export default {
components: {
Airplane,
Comment,
}
},
}
</script>

```
</docs>

Expand Down