plane/web/core/components/icons/attachment/js-file-icon.tsx
2024-06-11 14:39:52 +05:30

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