Empty State
Install the component from your command line.
The
Looking for new componentsCheck out new components in @raystack/apsara
npm install @raystack/apsara
Flex component accepts the following props:
icon: Icon to show in top of empty stateheading: primary heading messagesubHeading: secondary heading messageprimaryAction: action to show in empty state like button or linksecondaryAction: secondary action to show in empty state like button or linkclassNames: Map of className with internal componentscontainericonContainericonheadingsubHeading
import { EmptyState } from '@raystack/apsara/v1' <EmptyState headerText="Looking for new components" />