Open reezpatel opened 6 months ago
Added ability to add custom images using pieceTheme property, which accepts a string.
pieceTheme
Usage:
const board = Chessboard2('chess-board', { pieceTheme: `/assests/chess/{piece}.svg`, });
Note: I haven't used Clojurescript before, did my best to come up with the solution.
Added ability to add custom images using
pieceTheme
property, which accepts a string.Usage:
Note: I haven't used Clojurescript before, did my best to come up with the solution.