2023-04-06 13:46:50 +00:00
|
|
|
import React from "react";
|
|
|
|
import Image from "next/image";
|
2023-11-29 15:02:10 +00:00
|
|
|
// image
|
2024-06-11 09:09:52 +00:00
|
|
|
import DefaultFileIcon from "@/public/attachment/default-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 13:46:50 +00:00
|
|
|
|
2023-11-29 15:02:10 +00:00
|
|
|
export const DefaultIcon: React.FC<ImageIconPros> = ({ width, height }) => (
|
2023-04-06 13:46:50 +00:00
|
|
|
<Image src={DefaultFileIcon} height={height} width={width} alt="DefaultFileIcon" />
|
|
|
|
);
|