Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 7x 2x | export interface InputErrorMessageProps {
id?: string
message: string
}
const InputErrorMessage = ({ id, message }: InputErrorMessageProps) => {
return (
<div
id={id}
data-testid="input-error-message"
className="mb-1.5 inline-block border-l-4 border-red-dark bg-red-light px-2 font-bold"
>
{message}
</div>
)
}
export default InputErrorMessage
|