📸 Animated cursors list

This commit is contained in:
KaizIqbal 2020-07-25 17:48:57 +05:30
parent d8210de605
commit 00edd9e63d

View file

@ -4,12 +4,15 @@ import fs from "fs";
// Source Directory
const svgsDir = path.resolve(__dirname, "svg");
// .svg
let svgs = fs
.readdirSync(svgsDir)
.filter((file) => path.extname(file) === ".svg");
svgs = svgs.map((svg: string) => path.resolve(svgsDir, svg));
const animatedCursor = ["watch", "left_ptr_watch"];
// Out Directory
const bitmapsDir = path.resolve(process.cwd(), "bitmaps");
export { svgs, bitmapsDir };
export { svgs, animatedCursor, bitmapsDir };