From 7282eb7000c3db938b1bd21016c0b96b52702077 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Thu, 21 Jul 2022 00:44:07 +0000 Subject: [PATCH] Only accept accessible material design icons - Drop support for class based icons - Title is now optional Signed-off-by: Christopher Ng --- src/components/EmptyContent/EmptyContent.vue | 57 +++++++++++++------- 1 file changed, 39 insertions(+), 18 deletions(-) diff --git a/src/components/EmptyContent/EmptyContent.vue b/src/components/EmptyContent/EmptyContent.vue index 5f5d745ae2..294781523b 100644 --- a/src/components/EmptyContent/EmptyContent.vue +++ b/src/components/EmptyContent/EmptyContent.vue @@ -24,12 +24,14 @@ ### Basic use Use this component to display a message about an empty content. -An icon and a title are mandatory. -Providing an additional description is strongly advised. +Providing an icon, title, and a description is strongly advised. ``` - + No comments + ``` @@ -37,17 +39,21 @@ Providing an additional description is strongly advised. @@ -57,15 +63,15 @@ export default {