plane/web/components/icons/jpg-file-icon.tsx

11 lines
335 B
TypeScript
Raw Permalink Normal View History

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