Result
Whole-page outcome for states like 404, 403, or 500 with code, text, and request id.
beta
API
import Result from '@tcpsystems/ui/foundation/Result';| Prop | Type | Default |
|---|---|---|
code? | string | none |
title | string | none |
text | string | none |
requestId? | string | none |
as? | 'h1' | 'h2' | 'h1' |
| Snippet |
|---|
actions |
| Hook | Kind |
|---|---|
.tcp-result | Root class |
data-kind | Data attribute |