mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
14dd498d08
* chore: issue attachment services added * feat: attachment icons added * chore: fetch-key and icons export * feat: issue attachment upload section added * feat: issue attachment list section added * feat: date helper function added * style: responsiveness added * feat: attachment info added * style: attachment overflow fix * style: cursor pointer added * chore: issue attachment interface * style: uploading state added * feat: delete issue attachment modal * style: style improvement and refactor * style: consistent icon added , chore: refactor the code * fix: js icon import fix * fix: build fix * chore: refactor code
10 lines
304 B
TypeScript
10 lines
304 B
TypeScript
import React from "react";
|
|
import Image from "next/image";
|
|
|
|
import type { Props } from "./types";
|
|
import PngFileIcon from "public/attachment/png-icon.png";
|
|
|
|
export const PngIcon: React.FC<Props> = ({ width, height }) => (
|
|
<Image src={PngFileIcon} height={height} width={width} alt="PngFileIcon" />
|
|
);
|