botframework-webchat-component
Version:
React component of botframework-webchat
16 lines (14 loc) • 486 B
text/typescript
import { StrictStyleOptions } from 'botframework-webchat-api';
export default function createMicrophoneButtonStyle({ microphoneButtonColorOnDictate }: StrictStyleOptions) {
return {
'&.webchat__microphone-button': {
'&.webchat__microphone-button--dictating .webchat__microphone-button__button': {
'&, &:focus, &:hover': {
'& .webchat__microphone-button__icon': {
fill: microphoneButtonColorOnDictate
}
}
}
}
};
}