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

11 lines
339 B
TypeScript
Raw Normal View History

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" />
);