mirror of
https://github.com/Radiquum/radiquum.github.io.git
synced 2025-09-05 22:15:37 +05:00
18 lines
439 B
TypeScript
18 lines
439 B
TypeScript
type IconWithTextProps = {
|
|
icon: string;
|
|
text: string;
|
|
desc: string;
|
|
};
|
|
|
|
export const IconWithText = ({ icon, text, desc }: IconWithTextProps) => {
|
|
return (
|
|
<div className="flex items-center gap-1">
|
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
<img src={icon} alt={""} />
|
|
<div>
|
|
<p className="text-2xl">{text}</p>
|
|
<p className="text-sm">{desc}</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|