Add support for disabled chat state in the chat input field. Closes #2761
This commit is contained in:
@@ -593,6 +593,18 @@ Example.args = {
|
||||
chatUserId: 'testuser',
|
||||
isModerator: true,
|
||||
showInput: true,
|
||||
chatAvailable: true,
|
||||
};
|
||||
|
||||
export const ChatDisabled = Template.bind({});
|
||||
ChatDisabled.args = {
|
||||
loading: false,
|
||||
messages,
|
||||
usernameToHighlight: 'testuser',
|
||||
chatUserId: 'testuser',
|
||||
isModerator: true,
|
||||
showInput: true,
|
||||
chatAvailable: false,
|
||||
};
|
||||
|
||||
export const SingleMessage = Template.bind({});
|
||||
@@ -603,4 +615,5 @@ SingleMessage.args = {
|
||||
chatUserId: 'testuser',
|
||||
isModerator: true,
|
||||
showInput: true,
|
||||
chatAvailable: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user