From c987dca6e96ef9ac35872cc72a83f1b9d9c575f0 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Mon, 8 Oct 2018 16:51:04 +0530 Subject: [PATCH] add more file extension icons --- src/components/SidePane.jsx | 24 +++++++++++++++++++++++- src/style.css | 5 +++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/src/components/SidePane.jsx b/src/components/SidePane.jsx index 699a1bf..fab55c4 100644 --- a/src/components/SidePane.jsx +++ b/src/components/SidePane.jsx @@ -42,6 +42,28 @@ function FileIcon({ fileName }) { /> ); + case 'md': + case 'markdown': + return ( + + + + ); + case 'jpg': + case 'jpeg': + case 'svg': + case 'png': + return ( + + + + ); } } @@ -135,7 +157,7 @@ export class SidePane extends Component { return (