I was following a tutorial online and they set the predefined value of the function as null(data
and details
), what is the use of the null, what does it mean
onClick={(data, details = null) => {
console.log(data.description, details);
}}