MCPcopy Create free account
hub / github.com/devs-in-tech/DevsInTech / IconButton

Function IconButton

src/components/iconbutton/index.js:4–21  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

2import Link from "next/link";
3
4const IconButton = (props) => {
5 return (
6 <Link
7 href={props.url}
8 target="_blank"
9 rel="noopener noreferrer"
10 legacyBehavior
11 >
12 <Image
13 src={props.src}
14 width={props.width}
15 height={props.height}
16 alt={props.alt}
17 className={props.className}
18 />
19 </Link>
20 );
21};
22
23export default IconButton;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected