EmptyState
First-use, filtered, error, forbidden and unavailable states.
beta
API
import EmptyState from '@tcpsystems/ui/foundation/EmptyState';| Prop | Type | Default |
|---|---|---|
kind? | 'first-use' | 'filtered' | 'error' | 'forbidden' | 'unavailable' | 'first-use' |
title | string | none |
text? | string | none |
code? | string | none |
as? | 'h1' | 'h2' | 'h3' | 'h2' |
| Snippet |
|---|
actions |
| Hook | Kind |
|---|---|
.tcp-empty | Root class |
data-kind | Data attribute |