Open JoshClose opened 1 year ago
The documentation shows to set custom properties and event handlers using outerElementType. Is there any reason why it can't/shouldn't be attached to the item?
outerElementType
<VariableSizeGrid {...otherProps}> {props => <Cell {...props} onClick={handleClick} />} </VariableSizeGrid>
Thank you for this, this is a far better approach and should be in the docs.
The documentation shows to set custom properties and event handlers using
outerElementType
. Is there any reason why it can't/shouldn't be attached to the item?