Skip to content

Commit

Permalink
Incorporates change to code
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill committed May 15, 2023
1 parent 6badce3 commit 450143d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/jupyter-ai/src/components/chat-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,18 @@ export function ChatInput(props: ChatInputProps): JSX.Element {
variant="outlined"
multiline
onKeyDown={handleKeyDown}
placeholder='Ask Jupyternaut anything'
InputProps={{
endAdornment: (
<InputAdornment position="end">
<IconButton size="small" color="primary" onClick={props.onSend} disabled={!props.value.trim().length}>
<SendIcon />
<IconButton
size="small"
color="primary"
onClick={props.onSend}
disabled={!props.value.trim().length}
title='Send message (SHIFT+ENTER)'
>
<SendIcon />
</IconButton>
</InputAdornment>
)
Expand Down

0 comments on commit 450143d

Please sign in to comment.