cyber-dice
Version:
Dice animation library
24 lines (23 loc) • 522 B
TypeScript
export declare enum POSITIONS {
FRONT = "front",
BACK = "back",
LEFT = "left",
RIGHT = "right",
TOP = "top",
BOTTOM = "bottom"
}
export declare enum FACES {
FIRST = "first",
SECOND = "second",
THIRD = "third",
FOURTH = "fourth",
FIFTH = "fifth",
SIXTH = "sixth"
}
export type CustomFace = "first" | "second" | "third" | "fourth" | "fifth" | "sixth";
export interface ICubeCustomSide {
text: string;
textColor?: string;
fontSize?: string;
bgColor?: string;
}