mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
ac4bb1c1b4
* refactor: remove unused icon files * refactor: attachment icons folder structure
11 lines
339 B
TypeScript
11 lines
339 B
TypeScript
import React from "react";
|
|
import Image from "next/image";
|
|
// image
|
|
import JsFileIcon from "public/attachment/js-icon.png";
|
|
// type
|
|
import type { ImageIconPros } from "../types";
|
|
|
|
export const JavaScriptIcon: React.FC<ImageIconPros> = ({ width, height }) => (
|
|
<Image src={JsFileIcon} height={height} width={width} alt="JsFileIcon" />
|
|
);
|