Suggestion
The Suggestion component displays a horizontal row of clickable suggestions for user interaction.
Installation
If you prefer using jsrepo, please install via the command below:
Props
Suggestion
| Name | Type | Default |
|---|---|---|
suggestion | string | |
onclick | (suggestion: string) => void | |
children | Snippet | |
class | string | |
variant | ButtonProps['variant'] | 'outline' |
size | ButtonProps['size'] | 'sm' |
...restProps | ButtonProps | |
Suggestions
| Name | Type | Default |
|---|---|---|
children | Snippet | |
class | string | |
orientation | 'vertical' | 'horizontal' | 'both' | 'horizontal' |
scrollbarXClasses | string | |
scrollbarYClasses | string | |
...restProps | ScrollAreaProps | |