From f9d3351fdfdbd57879ce4d9588778c7d4f16dad1 Mon Sep 17 00:00:00 2001 From: Robert Best Date: Sun, 20 Apr 2025 19:00:11 -0400 Subject: [PATCH] Enable changing borderType using custom props This small change enables you to set the borderType of your new FednEditor using props. --- src/FenEditor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FenEditor.js b/src/FenEditor.js index 24b0471..4580885 100644 --- a/src/FenEditor.js +++ b/src/FenEditor.js @@ -98,6 +98,7 @@ export class FenEditor { assetsUrl: this.props.assetsUrl, style: { aspectRatio: 0.98, + borderType: this.props.borderType, pieces: {file: this.props.piecesFile}, cssClass: this.props.boardTheme },