feat: issue attachments feature (#717)
* 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
This commit is contained in:
parent
86ec46db2c
commit
14dd498d08
38 changed files with 664 additions and 19 deletions
9
apps/app/components/icons/pdf-file-icon.tsx
Normal file
9
apps/app/components/icons/pdf-file-icon.tsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import React from "react";
|
||||
import Image from "next/image";
|
||||
|
||||
import type { Props } from "./types";
|
||||
import PDFFileIcon from "public/attachment/pdf-icon.png";
|
||||
|
||||
export const PdfIcon: React.FC<Props> = ({ width , height }) => (
|
||||
<Image src={PDFFileIcon} height={height} width={width} alt="PDFFileIcon" />
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue