Skip to content

Commit

Permalink
Pass language and rename to aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Jul 31, 2019
1 parent 8c56cf9 commit e52a72d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/component/src/Attachment/TypingActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import TypingAnimation from './Assets/TypingAnimation';

const TypingActivity = ({ language, styleSet }) => (
<div className={styleSet.typingActivity}>
<TypingAnimation ariaLabel={localize('TypingIndicator', language)} />
<TypingAnimation aria-label={localize('TypingIndicator', language)} />
</div>
);

Expand All @@ -18,4 +18,4 @@ TypingActivity.propTypes = {
}).isRequired
};

export default connectToWebChat(({ styleSet }) => ({ styleSet }))(TypingActivity);
export default connectToWebChat(({ language, styleSet }) => ({ language, styleSet }))(TypingActivity);

0 comments on commit e52a72d

Please sign in to comment.