Topic: Can't import mdb-ui-kit modules in react project

Kshitij_Meshram free asked 1 year ago


Showing this warning I'm trying to run the following code but Not getting any output

import React, { useState } from 'react';

const Register = () => { const [email, setEmail] = useState(''); const handleSubmit = () => {

}

const registerForm = () => ( setEmail(e.target.value)} autoFocus /> Register );

return {registerForm} };

export default Register


Kamila Pieńkowska staff answered 1 year ago


If I understand correctly you are trying to use the Standard package while using React.

We have a dedicated React package, which you should use.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 4.4.0
  • Device: HP
  • Browser: Brave
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No