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 { Icon, Input } from "antd";
import { Input } from "antd";
import { MailFilled } from "@ant-design/icons";
import React, { forwardRef } from "react";
function FormItemEmail(props, ref) {
return (
@@ -7,10 +8,10 @@ function FormItemEmail(props, ref) {
addonAfter={
props.email ? (
<a href={`mailto:${props.email}`}>
<Icon type="mail" />
<MailFilled />
</a>
) : (
<Icon type="mail" />
<MailFilled />
)
}
/>