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

11 lines
355 B
TypeScript
Raw Normal View History

import React from "react";
import Image from "next/image";
// image
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" />
);