DotNaos UI
NativeChatComposer

Native Composer

Chat Native Composer 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

1import { ChatNativeComposer } from "@dotnaos/ui/native";

Properties

Public properties derived from the component’s TypeScript signature.

PropertyTypeDefault
disabledOptional
boolean
false
inputStyleOptional
StyleProp<TextStyle>
inputValueRequired
string
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
"Message"
stateOptional
"error" | "idle" | "streaming" | "waiting"
"idle"
stopLabelOptional
string
"Stop"
styleOptional
StyleProp<ViewStyle>
submitLabelOptional
string
"Send"
suggestionsOptional
readonly NativeChatSuggestion[]
[]
themeOptional
ChatNativeTheme