Closed furrykef closed 6 years ago
At https://www.chessboardjsx.com/props it still says the function signature for onDrop is function(sourceSquare: string, targetSquare: string), when it should be function({sourceSquare: string, targetSquare: string, piece: string}).
function(sourceSquare: string, targetSquare: string)
function({sourceSquare: string, targetSquare: string, piece: string})
Thank you, good catch. Will fix this soon
Thanks again for catching this!
At https://www.chessboardjsx.com/props it still says the function signature for onDrop is
function(sourceSquare: string, targetSquare: string)
, when it should befunction({sourceSquare: string, targetSquare: string, piece: string})
.