shape-poly
Version:
Make CSS Polygon Shape
16 lines (15 loc) • 527 B
TypeScript
export declare const TOP = "top";
export declare const BOTTOM = "bottom";
export declare const LEFT = "left";
export declare const RIGHT = "right";
export declare type DIRECTION = "top" | "bottom" | "left" | "right";
export declare const REVERSE: {
[TOP]: string;
[BOTTOM]: string;
[LEFT]: string;
[RIGHT]: string;
};
export declare const POLY_CLASS = "__shape-poly";
export declare const SIDE_CLASS: string;
export declare const POSITION_ABSOLUTE = "position:absolute;";
export declare const SIDE_CSS: string;