Chat
Chat from the Native package.
Runtime classification
No web preview is provided. Requires the React Native runtime and native primitives, which cannot execute inside the DOM documentation canvas.
Import
1•import { Chat } from "@dotnaos/ui/native";
Properties
Public properties derived from the component’s TypeScript signature.
| Property | Type | Default |
|---|---|---|
contentContainerStyleOptional | StyleProp<ViewStyle> | — |
styleOptional | StyleProp<ViewStyle> | — |
themeOptional | ChatNativeTheme | — |
branchLabelOptional | string | — |
descriptionOptional | string | — |
disabledOptional | boolean | — |
inputValueRequired | string | — |
messagesRequired | readonly NativeChatMessage[] | — |
modelLabelOptional | string | — |
modelOptionsOptional | readonly NativeChatAction[] | — |
onAttachmentSelectOptional | (() => void) | — |
onInputChangeRequired | (value: string) => void | — |
onModelSelectOptional | ((action: NativeChatAction) => void) | — |
onPermissionSelectOptional | ((action: NativeChatAction) => void) | — |
onStopOptional | (() => void) | — |
onSubmitRequired | (value: string) => void | — |
onSuggestionSelectOptional | ((suggestion: NativeChatSuggestion) => void) | — |
permissionLabelOptional | string | — |
permissionOptionsOptional | readonly NativeChatAction[] | — |
placeholderOptional | string | — |
stateOptional | "error" | "idle" | "streaming" | "waiting" | "idle" |
stopLabelOptional | string | — |
submitLabelOptional | string | — |
suggestionsOptional | readonly NativeChatSuggestion[] | — |
titleOptional | string | — |