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