chessground12
Version:
Extended lishuuro.org Chess UI
7 lines (6 loc) • 304 B
TypeScript
import type { State } from './state';
export declare function createElement(tagName: string): SVGElement;
export declare function renderSvg(state: State, svg: SVGElement, customSvg: SVGElement): void;
export declare function setAttributes(el: SVGElement, attrs: {
[key: string]: any;
}): SVGElement;