I am trying to change the color when focusing on an input in the Flowbite React library, but it's not working. I hope someone can help me.
<TextInput
id="email"
placeholder="email@gmail.com"
value={email}
onChange={handleEmailChange}
className="flex-1 focus:ring-primary-600 focus:border-primary-600"
helperText={<span className="font-medium">{emailError}</span>}
color={emailError ? "failure" : "gray"}
/>