EmptyStateCard
EmptyStateCard extends the Card component to represent an empty state in your app.
Usage
import { Main, Button, EmptyStateCard } from '@aragon/ui'
function App() {
return (
<EmptyStateCard
text="There is no content."
action={<Button>>Action</Button>}
/>
)
}Demonstration

Props
text
TYPE
DEFAULT VALUE
React node
None (required)
Set some text content for your EmptyStateCard.
Example:
illustration
illustrationTYPE
DEFAULT VALUE
React node
A default illustration
An illustration to visually represent the empty state.
Example:
action
actionTYPE
DEFAULT VALUE
React node
None
The action, usually represented by a Button.
Example:
Last updated
Was this helpful?
