2023-04-06 09:37:11 +00:00
|
|
|
import React from "react";
|
|
|
|
import Image from "next/image";
|
2023-11-29 15:02:10 +00:00
|
|
|
// image
|
2023-04-06 09:37:11 +00:00
|
|
|
import JsFileIcon from "public/attachment/js-icon.png";
|
2023-11-29 15:02:10 +00:00
|
|
|
// type
|
2024-04-28 19:21:31 +00:00
|
|
|
import type { ImageIconPros } from "../types";
|
2023-04-06 09:37:11 +00:00
|
|
|
|
2023-11-29 15:02:10 +00:00
|
|
|
export const JavaScriptIcon: React.FC<ImageIconPros> = ({ width, height }) => (
|
2023-04-06 09:37:11 +00:00
|
|
|
<Image src={JsFileIcon} height={height} width={width} alt="JsFileIcon" />
|
|
|
|
);
|