StatusPanel API
API reference docs for theStatusPanel
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
title | string | Main heading text for the status panel | _ |
variant? | 'info' | 'warning' | 'error' | 'success' | 'none' | Visual intent for the state (affects icon and color). none will not show any icon. | 'info' |
description? | string | Optional supporting text below the title | _ |
action? | ReactNode | Action component, like a link or a button, to recommend the best next step that people can take | _ |
customIcon? | (props: IconProps) => ReactNode | Icon to display above the title. Overrides the default variant icon | _ |