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

@@ -1,4 +1,5 @@
import { Button, Form, Icon, Input } from "antd";
import { Button, Form, Input } from "antd";
import { LockFilled } from "@ant-design/icons";
import React from "react";
import { useApolloClient } from "react-apollo";
import { connect } from "react-redux";
@@ -7,7 +8,10 @@ import { createStructuredSelector } from "reselect";
import Logo from "../../assets/logo240.png";
import { UPSERT_USER } from "../../graphql/user.queries";
import { emailSignInStart } from "../../redux/user/user.actions";
import { selectCurrentUser, selectSignInError } from "../../redux/user/user.selectors";
import {
selectCurrentUser,
selectSignInError
} from "../../redux/user/user.selectors";
const mapStateToProps = createStructuredSelector({
currentUser: selectCurrentUser,
@@ -86,9 +90,7 @@ export default connect(
]
})(
<Input
prefix={
<Icon type="lock" style={{ color: "rgba(0,0,0,.25)" }} />
}
prefix={<LockFilled style={{ color: "rgba(0,0,0,.25)" }} />}
type="password"
placeholder="Password"
/>