Skip to content

<Empty /> Component #9

@idmontie

Description

@idmontie

Feature

Add a new folder called /Messaging with an <Empty /> component.

Props:

  • children - renders out the given children
  • image - override the Image component
  • actions - add actions into the proper section

By default, renders a default Empty SVG with default messaging.

Example Usage

Simple usage:

<Empty />

Advanced Usage

<Empty image={<CustomIcon />} actions={[<Button as={Link} to="/create">Create</Button>]}>
  <Typography>Looks like we couldn't find any results</Typography>
</Empty>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions