What is this prop syntax in my component?

Viewed 4928

I have the following code:

const cEditor = (onUpdate, props) => (<SelectEditor onUpdate=(onUpdate) {...props} />);

What is being done by {...props}? It seems as if it is passing down props to the component. What does this syntax mean?

1 Answers
Related