From 21d62643dcff0776231bdf8c285e9ca8e6d11c14 Mon Sep 17 00:00:00 2001 From: Sasitha Rajapaksha Date: Tue, 12 Sep 2023 17:02:03 +0800 Subject: [PATCH] [BOOKINGSG-4633][SR] update empty view --- src/data-table/data-table.tsx | 4 ++-- stories/data-table/data-table.stories.mdx | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/data-table/data-table.tsx b/src/data-table/data-table.tsx index 6cfde5aea..1d777e1c9 100644 --- a/src/data-table/data-table.tsx +++ b/src/data-table/data-table.tsx @@ -298,13 +298,13 @@ export const DataTable = ({ emptyView.title ) ) : ( - {"No data found"} + {"No found"} ) } description={ emptyView?.description ? emptyView.description - : "No matching rows" + : "This is a placeholder text" } actionButton={emptyView?.actionButton} img={emptyView?.img} diff --git a/stories/data-table/data-table.stories.mdx b/stories/data-table/data-table.stories.mdx index 5d9d3b2d0..701721cbd 100644 --- a/stories/data-table/data-table.stories.mdx +++ b/stories/data-table/data-table.stories.mdx @@ -543,11 +543,8 @@ Table Empty Data View. headerWidth: "5rem", }} emptyView={{ - title: "No Results", - description: "This is Placeholder text", actionButton: { children: "Trigger", - styleType: "secondary", style: { width: "5rem", },