Chemistry, asked by Abubakar7151, 11 months ago

React does not recognize the `deselection clickaway` prop on a dom element

Answers

Answered by meet3831
0
The unknown-prop warning will fire if you attempt to render a DOM element with a prop that is not recognized by React as a legal DOM attribute/property. You should ensure that your DOM elements do not have spurious props floating around.

The spread operator can be used to pull variables off props, and put the remaining props into a variable.

Similar questions
Math, 1 year ago