forked from github/plane
ac4bb1c1b4
* refactor: remove unused icon files * refactor: attachment icons folder structure
11 lines
336 B
TypeScript
11 lines
336 B
TypeScript
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" />
|
|
);
|