While adding the react-flowbite modal to a react code, this error appears:
How to configure all that? How to setup a button so that it toggles the modal onClick? Thanks
These are the imports :
import {
Button,
Checkbox,
Label,
Modal,
TextInput,
} from "flowbite-react";
This is the code: (Couldn't paste it here because the code was more that text) https://flowbite-react.com/modal
Scroll down up to "form elements"