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 DocFileIcon from "public/attachment/doc-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 DocIcon: React.FC<ImageIconPros> = ({ width, height }) => (
|
2023-04-06 09:37:11 +00:00
|
|
|
<Image src={DocFileIcon} height={height} width={width} alt="DocFileIcon" />
|
|
|
|
);
|