UNPKG

shape-poly

Version:
21 lines (20 loc) 799 B
import { DIRECTION } from "./consts"; export declare function dom(el: HTMLElement): HTMLElement; interface PolyInterface { side?: number; split?: number; strokeWidth: number | string; className?: string; starRadius?: number; container?: HTMLElement; direction?: DIRECTION; stroke?: string; } export declare function css({ strokeWidth, side, split, starRadius, stroke, direction, }: PolyInterface): { sides: string[]; percent: string; }; export declare function be(el: HTMLElement, { strokeWidth, side, starRadius, stroke, direction, }: PolyInterface): void; export declare function poly({ className, strokeWidth, side, split, starRadius, stroke, direction, container, }: PolyInterface): HTMLElement; export declare const VERSION = "#__VERSION__#"; export {};