I'm currently learning React by tackling a problem in React. Below is the React code challenge I'm working on. However, I encountered an error in the browser that I couldn't resolve even after searching on Google. I've included my code below along with a link to StackBlitz. Can someone please assist 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