API Reference
Renders a styled empty state area
<EmptyState> <Heading>Title goes here</Heading> <Slot name="actions"> <Button variant="primary">label</Button> </Slot> </EmptyState>
Parameters
props
- Type:
@vtex/shoreline-components.EmptyStateProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>
Props
size
(optional)
Indicates size of empty state area
-
Type:
small | large | medium
-
Default:
'medium'