Antd V4 Icon Updates

This commit is contained in:
Patrick Fic
2020-02-28 09:52:51 -08:00
parent e2dfd6b60d
commit 93be1417be
22 changed files with 167 additions and 123 deletions

View File

@@ -2,7 +2,7 @@ import React from "react";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
import { openConversation } from "../../redux/messaging/messaging.actions";
import { Icon } from "antd";
import { MessageFilled } from "@ant-design/icons";
const mapStateToProps = createStructuredSelector({
//currentUser: selectCurrentUser
});
@@ -14,9 +14,8 @@ export default connect(
mapDispatchToProps
)(function ChatOpenButton({ openConversation, phone }) {
return (
<Icon
<MessageFilled
style={{ margin: 4 }}
type="message"
onClick={() => openConversation(phone)}
/>
);