plane/web/components/icons/attachment/png-file-icon.tsx

11 lines
336 B
TypeScript
Raw Permalink Normal View History

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