Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface InputTopLevelProps {
* `TextInput` state. Defaults to `editing`. */
sendButtonVisibilityMode?: 'always' | 'editing'
textInputProps?: TextInputProps
rightItems ? : React.ReactNode
}

export interface InputAdditionalProps {
Expand All @@ -48,6 +49,7 @@ export const Input = ({
onSendPress,
sendButtonVisibilityMode,
textInputProps,
rightItems
}: InputProps) => {
const l10n = React.useContext(L10nContext)
const theme = React.useContext(ThemeContext)
Expand Down Expand Up @@ -79,6 +81,7 @@ export const Input = ({

return (
<View style={container}>
{rightItems && rightItems}
{user &&
(isAttachmentUploading ? (
<CircularActivityIndicator
Expand Down