mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-24 12:07:02 -04:00
🏷️ RenderConfig type
This commit is contained in:
parent
6fe0579006
commit
99a4c19f0a
1 changed files with 20 additions and 0 deletions
20
packages/shared/types.d.ts
vendored
Normal file
20
packages/shared/types.d.ts
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
type AnimatedCursors = {
|
||||
[name: string]: {
|
||||
frames: number;
|
||||
};
|
||||
};
|
||||
|
||||
type AnimatedClip = {
|
||||
x: number;
|
||||
y: number;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
|
||||
interface RenderConfig {
|
||||
staticSvgs: Array<string>;
|
||||
animatedCursors: AnimatedCursors;
|
||||
animatedClip: AnimatedClip;
|
||||
bitmapsDir: string;
|
||||
svgsDir: string;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue