From 7c74df338ec00f4c35afe71076ba40a92e10c459 Mon Sep 17 00:00:00 2001 From: Redon <790348264@qq.com> Date: Tue, 28 Mar 2023 16:32:28 +0800 Subject: [PATCH] feat: empty state add icons (#248) --- components/Promptbar/Promptbar.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/components/Promptbar/Promptbar.tsx b/components/Promptbar/Promptbar.tsx index 176724f..9eabace 100644 --- a/components/Promptbar/Promptbar.tsx +++ b/components/Promptbar/Promptbar.tsx @@ -3,6 +3,7 @@ import { Prompt } from '@/types/prompt'; import { IconArrowBarRight, IconFolderPlus, + IconMistOff, IconPlus, } from '@tabler/icons-react'; import { FC, useEffect, useState } from 'react'; @@ -111,14 +112,14 @@ export const Promptbar: FC = ({ @@ -134,7 +135,7 @@ export const Promptbar: FC = ({
{folders.length > 0 && ( -
+
= ({ />
) : ( -
-
{t('No prompts.')}
+
+ + + {t('No prompts.')} +
)}