plane/web/core/components/icons/attachment/default-file-icon.tsx

11 lines
358 B
TypeScript
Raw Normal View History

import React from "react";
import Image from "next/image";
// image
2024-06-11 09:09:52 +00:00
import DefaultFileIcon from "@/public/attachment/default-icon.png";
// type
import type { ImageIconPros } from "../types";
export const DefaultIcon: React.FC<ImageIconPros> = ({ width, height }) => (
<Image src={DefaultFileIcon} height={height} width={width} alt="DefaultFileIcon" />
);