const onCheckedValue = (notification, event) => {
console.log('notification', notification);
console.log('event', event);
};
// I want to pass the event and another parameter to the above function how can I achieve that?
<Checkbox
checked={notification.is_selected}
onChange={onCheckedValue(notification, event)}
value={notification}
/>;