InputButtons

InputButtons renders the leading attachment action area.

In the current implementation it renders AttachButton when attachment upload capabilities are available and uploadFile is allowed; otherwise it returns null.

Props

Prop Description Type
AttachButton Override attach button component. ComponentType
hasCameraPicker Enable camera picker. boolean
hasCommands Enable commands. boolean
hasFilePicker Enable file picker. boolean
hasImagePicker Enable image picker. boolean
uploadFile Channel capability flag for file uploads. boolean