plane/web/core/components/icons/attachment/img-file-icon.tsx
2024-06-11 14:39:52 +05:30

11 lines
338 B
TypeScript

import React from "react";
import Image from "next/image";
// image
import ImgFileIcon from "@/public/attachment/img-icon.png";
// type
import type { ImageIconPros } from "../types";
export const ImgIcon: React.FC<ImageIconPros> = ({ width, height }) => (
<Image src={ImgFileIcon} height={height} width={width} alt="ImgFileIcon" />
);