TextInputGroup Change border color to yellow when modified

This commit is contained in:
Eric NGUYEN 2022-09-13 18:04:42 +02:00
parent e3f57773d7
commit 021af3e70f

View file

@ -35,7 +35,7 @@ export function TextInputGroup(props: ITextInputGroupProps): JSX.Element {
}
}
const warningClass = props.value !== value ? 'focus:border-orange-200 border-orange-200 focus:ring-orange-200 ring-orange-200' : '';
const warningClass = props.value !== value ? 'focus:border-yellow-300 border-yellow-300 focus:ring-yellow-300 ring-yellow-300' : '';
return <>
<label