Suggestions
A wrap of suggested-prompt pills, shown on the empty state.
Import
Section titled “Import”import { Suggestions } from "@flanksource/clicky-ui/chat";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
— | — |
onSelect* |
(…) => void |
— | Called with the suggestion's prompt text when a pill is clicked. |
suggestions* |
Suggestion[] |
— | — |