From e8622dda806e51c34bef021220f41d3030837dac Mon Sep 17 00:00:00 2001 From: Nidharshan A <cb.en.u4cse18036@cb.students.amrita.edu> Date: Wed, 24 Mar 2021 06:10:24 +0000 Subject: [PATCH] Delete File.js --- digital-course-file/src/user/File.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 digital-course-file/src/user/File.js diff --git a/digital-course-file/src/user/File.js b/digital-course-file/src/user/File.js deleted file mode 100644 index 4a5ce33..0000000 --- a/digital-course-file/src/user/File.js +++ /dev/null @@ -1,16 +0,0 @@ -import { faFile } from "@fortawesome/free-solid-svg-icons" -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" -import React from "react" - -export default function File({ file }) { - return ( - <a - href={file.url} - target="_blank" - className="btn btn-outline-dark text-truncate w-100" - > - <FontAwesomeIcon icon={faFile} className="mr-2" /> - {file.name} - </a> - ) -} \ No newline at end of file -- GitLab