# EmptyState

What a list or panel shows when it has nothing to show: an icon, a real
heading, an explanation and an optional action. The heading is never empty,
because a blank heading is announced as a heading with no name.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { EmptyState } from "@mapcairn/map";
 
function EmptyState(input: EmptyStateProps): JSX.Element;
```

## Parameters

- `{ icon, heading: headingText, headingLevel, children, action: actionNode, className, ...rest }`
- `input` (`EmptyStateProps`)

## Returns

`JSX.Element`

## See also

- [`EmptyStateProps`](https://docs.mapcairn.com/api/map/EmptyStateProps.md)

Source: [packages/map/src/ui/EmptyState/EmptyState.tsx:27](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/ui/EmptyState/EmptyState.tsx#L27)
