Skip to content

Commit fcd5f1a

Browse files
committed
feat(icons): add csv icon
1 parent 2e2eb14 commit fcd5f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Render {
5050
}
5151

5252
static format(str) {
53-
if (["XLS", "XLSX", "PDF", "XML"].indexOf(str) != -1)
53+
if (["XLS", "XLSX", "PDF", "XML", "CSV"].indexOf(str) != -1)
5454
return Render.image("https://raw.githubusercontent.com/teambox/Free-file-icons/master/32px/" + str.toLowerCase() + ".png", str);
5555
return str;
5656
}

0 commit comments

Comments
 (0)