onix-chess-game
Version:
Chess game board
17 lines (16 loc) • 491 B
TypeScript
import { Config as CgConfig } from 'chessground/config';
import { BoardSize } from 'onix-board-assets';
import { Color } from 'chessground/types';
export interface BoardSettings extends CgConfig {
is3d?: boolean;
size: BoardSize;
piece?: string;
square?: string;
orientation?: Color;
coordinates?: boolean;
csrfTokenName?: string;
csrfTokenValue?: string;
configUrl?: string;
returnUrl?: string;
}
export declare const defaultSettings: BoardSettings;