score:0

Accepted answer

classname should be in pascalcase,

import yozuv from "./components/form";

this should be

import yozuv from "./components/form";

usage

<yozuv/>

when you add any element like <yozuv/> (starts with small letter), react takes it as a normal html tag and not a react component.

score:0

    import react, { component } from 'react'
// make sure the location of file is the same  for yozuvla 
import yozuvla from'./components/form'
 class app extends component {
  render() {
    return (
      <div>
        <yozuvla/>
      </div>
    )
  }
}
export default app;

tell me in commit it work or not


Related Query

More Query from same tag