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:
Advanced Usage
<Empty image={<CustomIcon />} actions={[<Button as={Link} to="/create">Create</Button>]}>
<Typography>Looks like we couldn't find any results</Typography>
</Empty>
Feature
Add a new folder called
/Messagingwith an<Empty />component.Props:
children- renders out the given childrenimage- override the Image componentactions- add actions into the proper sectionBy default, renders a default Empty SVG with default messaging.
Example Usage
Simple usage:
Advanced Usage