StackOverflow - StackOverflow
"Objects are not valid as a React child" and linters
import React from 'react';
import './Label.css';
export default function Label({Childn, Cfor}) { // <--- attention
return (
<label className="label mr-10" htmlFor={Cfor}>
{Childn}
</label>
);
}
Was this helpful?
Related Articles
Have a different question?
Can't find the answer you're looking for? Submit your own question to our community.
🛎️ Get Weekly OTA Fixes
New answers, vendor issues, and updates — straight to your inbox.