Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
AsteriskZuo committed Dec 10, 2023
1 parent d5e9a76 commit 0d676c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/biz/MessageInput/MessageInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ export type MessageInputProps = Omit<
*/
onInputBarWillHide?: () => void;
/**
* Callback function when the input box component is displayed.
* Callback function when the message will be send.
*/
onSend?: (content: string) => void;
/**
* Callback function when the input box component is hidden.
* Callback function when the message is sended.
*/
onSended?: (content: string, message: ChatMessage) => void;
/**
Expand Down
6 changes: 5 additions & 1 deletion src/biz/ParticipantList/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export function Search(props: SearchProps) {
light: colors.neutral[5],
dark: colors.neutral[5],
},
text: {
light: colors.neutral[1],
dark: colors.neutral[98],
},
});
return (
<View
Expand Down Expand Up @@ -67,7 +71,7 @@ export function Search(props: SearchProps) {
}}
style={{
paddingLeft: 35,
color: getColor('color'),
color: getColor('text'),
}}
onChangeText={onChangeText}
value={value}
Expand Down

0 comments on commit 0d676c5

Please sign in to comment.