DocSpace-client/packages/shared/components/empty-screen-container
2024-04-17 10:55:33 +02:00
..
EmptyScreenContainer.stories.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
EmptyScreenContainer.styled.ts Client: Login: DocEditor Remove increasing value for RTL 2024-04-17 10:55:33 +02:00
EmptyScreenContainer.test.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
EmptyScreenContainer.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
EmptyScreenContainer.types.ts Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
index.tsx Replaced copyright start year + format 2024-03-21 18:09:55 +04:00
README.md Client: fix wrong import - export for shared components 2024-01-10 11:01:43 +03:00

EmptyScreenContainer

Used to display empty screen page

Usage

import { EmptyScreenContainer } from "@docspace/shared/components/empty-screen-container";
<EmptyScreenContainer
  imageSrc="empty_screen_filter.png"
  imageAlt="Empty Screen Filter image"
  headerText="No results matching your search could be found"
  subheading="No files to be displayed in this section"
  descriptionText="No results matching your search could be found"
  buttons={<a href="/">Go to home</a>}
/>

Properties

Props Type Required Values Default Description
buttons element - - - Content of EmptyContentButtonsContainer
className string - - - Accepts class
descriptionText string - - - Description text
headerText string - - - Header text
subheadingText string - - - Subheading text
id string - - - Accepts id
imageAlt string - - - Alternative image text
imageSrc string - - - Image url source
style obj, array - - - Accepts css style