feat: SVG icons

This commit is contained in:
Bettenbuk Zoltan
2019-08-30 18:39:06 +02:00
committed by Zoltan Bettenbuk
parent 738a199b4c
commit 8a3ddd8596
188 changed files with 2332 additions and 848 deletions

View File

@@ -1,5 +1,6 @@
// @flow
import { IconChat, IconChatUnread } from '../../../base/icons';
import { getLocalParticipant } from '../../../base/participants';
import { connect } from '../../../base/redux';
import {
@@ -42,9 +43,9 @@ type Props = AbstractButtonProps & {
*/
class ChatButton extends AbstractButton<Props, *> {
accessibilityLabel = 'toolbar.accessibilityLabel.chat';
iconName = 'chat';
icon = IconChat;
label = 'toolbar.chat';
toggledIconName = 'chat-unread';
toggledIcon = IconChatUnread;
/**
* Handles clicking / pressing the button, and opens the appropriate dialog.