Open
Description
Callbacks for onSelect and onSelectAll accept similar parameters, but "reversed":
from the storyBook
handleOnSelect = (row, isSelect)
and
handleOnSelectAll = (isSelect, rows)
swapping parameters in one of these functions (e.g handleOnSelectAll = (rows, isSelect)
) can be easily for developers to manage both cases, maybe with a single function, depending on use case. I know that row is an object and rows is an array, but they can be managed with a single function in a simple scenario