JaredReisinger / react-crossword

A flexible, responsive, and easy-to-use crossword component for React apps.
https://react-crossword.jaredreisinger.com
MIT License
168 stars 80 forks source link

A new callback function added on Crossword Provider #570

Open lalitx17 opened 1 week ago

lalitx17 commented 1 week ago

I have introduced a new callback function, onCellSelected, within the Crossword Provider. This function triggers whenever a user selects a new cell, regardless of whether the selection is made via keyboard, touchpad, or mouse. The function is called with the parameters: direction, number, row, and column.