Skip to content

Commit

Permalink
new ui
Browse files Browse the repository at this point in the history
  • Loading branch information
prtkjakhar committed Dec 14, 2023
1 parent a94c0c8 commit db77498
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chat-ui/dist/index.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions packages/chat-ui/es/components/Chat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export var Chat = /*#__PURE__*/React.forwardRef(function (props, ref) {
onInputBlur = props.onInputBlur,
onSend = props.onSend,
disableSend = props.disableSend,
showTransliteration = props.showTransliteration,
btnColor = props.btnColor,
translation = props.translation,
background = props.background,
Expand Down Expand Up @@ -125,6 +126,7 @@ export var Chat = /*#__PURE__*/React.forwardRef(function (props, ref) {
onBlur: onInputBlur,
onSend: onSend,
disableSend: disableSend,
showTransliteration: showTransliteration,
translation: translation,
btnColor: btnColor,
onImageSend: onImageSend,
Expand Down
2 changes: 2 additions & 0 deletions packages/chat-ui/lib/components/Chat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ var Chat = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
onInputBlur = props.onInputBlur,
onSend = props.onSend,
disableSend = props.disableSend,
showTransliteration = props.showTransliteration,
btnColor = props.btnColor,
translation = props.translation,
background = props.background,
Expand Down Expand Up @@ -134,6 +135,7 @@ var Chat = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
onBlur: onInputBlur,
onSend: onSend,
disableSend: disableSend,
showTransliteration: showTransliteration,
translation: translation,
btnColor: btnColor,
onImageSend: onImageSend,
Expand Down
3 changes: 3 additions & 0 deletions packages/chat-ui/src/components/Chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export type ChatProps = Omit<ComposerProps, 'onFocus' | 'onChange' | 'onBlur'> &
Composer?: React.ElementType; // FIXME,
disableSend?:boolean
btnColor?:string
showTransliteration?:boolean;
background?:string
translation?:any
};
Expand Down Expand Up @@ -179,6 +180,7 @@ export const Chat = React.forwardRef<HTMLDivElement, ChatProps>((props, ref) =>
onInputBlur,
onSend,
disableSend,
showTransliteration,
btnColor,
translation,
background,
Expand Down Expand Up @@ -264,6 +266,7 @@ export const Chat = React.forwardRef<HTMLDivElement, ChatProps>((props, ref) =>
onBlur={onInputBlur}
onSend={onSend}
disableSend={disableSend}
showTransliteration={showTransliteration}
translation={translation}
btnColor={btnColor}
onImageSend={onImageSend}
Expand Down

0 comments on commit db77498

Please sign in to comment.