Add support for disabled chat state in the chat input field. Closes #2761

This commit is contained in:
Gabe Kangas
2023-03-01 16:19:02 -08:00
parent de71984d46
commit 4a0476b237
9 changed files with 76 additions and 22 deletions

View File

@@ -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,
};