import heroicons icons from react-icons/hi

This commit is contained in:
m5r 2021-09-08 05:01:03 +08:00
parent 9ec73d6cf4
commit f8a2ef3b97

View File

@ -1,4 +1,4 @@
import { PhoneMissedCallIcon, PhoneOutgoingIcon } from "@heroicons/react/solid"; import { HiPhoneMissedCall, HiPhoneOutgoing } from "react-icons/hi";
import { Direction } from "../../../db"; import { Direction } from "../../../db";
import usePhoneCalls from "../hooks/use-phone-calls"; import usePhoneCalls from "../hooks/use-phone-calls";
@ -23,7 +23,7 @@ export default function PhoneCallsList() {
return ( return (
<li key={phoneCall.id} className="flex flex-row py-2 px-4 ml-12"> <li key={phoneCall.id} className="flex flex-row py-2 px-4 ml-12">
<div className="h-4 w-4 mt-1 -ml-12"> <div className="h-4 w-4 mt-1 -ml-12">
{isOutboundCall ? <PhoneOutgoingIcon className="text-[#C4C4C6]" /> : null} {isOutboundCall ? <HiPhoneOutgoing className="text-[#C4C4C6]" /> : null}
</div> </div>
<div className="flex flex-col items-start justify-center ml-4"> <div className="flex flex-col items-start justify-center ml-4">