How do I pass multiple arguments to a function in React?
The below seems to make sense, but only data is retrieving the correct information. level is defined, but just an empty object.
<OutputContent data = { this.props.data } level = {0} />
function OutputContent({data}, level) {
console.log(data);
console.log(level);
return <p>A simple example</p>
}