I am trying to lean react by solving a problem in react. Providing the react code challenge below. I am seeing the below error in browser. I googled but still no luck, not sure how to solve it. Providing my code below and stackblitz. Can you guys help me.
Property 'stateDropdown' does not exist on type 'JSX.IntrinsicElements'.(2339)
import { FC } from 'react';
import './style.css';
import { stateDropdown } from './components/stateDropdown';
export const App: FC<{ name: string }> = ({ name }) => {
return (
<div>
<stateDropdown />
<h1>Hello {name}!</h1>
<p>Start editing to see some magic happen :)</p>
</div>
);
};
coding challenge https://www.youtube.com/watch?v=V2zEAXLQbF4&t=794s
Via Active questions tagged javascript - Stack Overflow https://ift.tt/tWLqp9V
Comments
Post a Comment