@@ -23,10 +30,10 @@ const withList = ({
}
return
})}
+ {isEmpty(this.entries) && this.$slots.empty &&
{this.$slots.empty}
}
)
- },
- props: ['entries', 'entryProps', 'entryListeners']
+ }
})
)
diff --git a/src/hocs/with_list/with_list.scss b/src/hocs/with_list/with_list.scss
new file mode 100644
index 00000000..c6e13d5b
--- /dev/null
+++ b/src/hocs/with_list/with_list.scss
@@ -0,0 +1,6 @@
+.with-list {
+ &-empty-content {
+ text-align: center;
+ padding: 10px;
+ }
+}
\ No newline at end of file