From a412239580a22fa11a24e00d5801711b65b35ff9 Mon Sep 17 00:00:00 2001 From: vladimir-cucu Date: Fri, 26 Apr 2024 17:48:04 +0300 Subject: [PATCH] fix: use image from assets in EmptyState storybook --- .../EmptyState/EmptyState.stories.mdx | 39 ++++++------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/src/components/EmptyState/EmptyState.stories.mdx b/src/components/EmptyState/EmptyState.stories.mdx index 0897c1baa..fcd82d83b 100644 --- a/src/components/EmptyState/EmptyState.stories.mdx +++ b/src/components/EmptyState/EmptyState.stories.mdx @@ -6,6 +6,17 @@ import Button from "../Button"; +export const boxImage = ( + empty state +); + ### EmptyState This is a [React](https://reactjs.org/) component to represent an empty state. @@ -16,22 +27,6 @@ This is a [React](https://reactjs.org/) component to represent an empty state. ### Default -export const boxImage = ( - - - - - - - - - -); - {}; {() => ( - } + image={boxImage} title="No instances found" >