AssistantLibrary
Installation
Section titled “Installation”npm install @sk-web-gui/reactAnvändning
Section titled “Användning”import { AICornerModuleAssistantLibrary } from '@sk-web-gui/react';| Prop | Typ | Standard | Beskrivning |
|---|---|---|---|
assistants | Assistant[] | – | |
current | string | – | Id of current assistant |
onSelectAssistant | (id: string) => void | – | |
onClose | () => void | – | |
closeText | string | – | Text to describe closebutton. @default Stäng |
autofocus | boolean | – | Will autofocus current or first item |
Storyvarianter
Section titled “Storyvarianter”- Template – standardstory
- Implementation: @sk-web-gui/ai
- Storybook: AssistantLibrary