Sha256: 3e3dc55b805b6d582bdac4d94a8be5461f3499c77e346dbfce7376c4512f6c26
Contents?: true
Size: 327 Bytes
Versions: 9
Compression:
Stored size: 327 Bytes
Contents
import { HTMLAttributes } from 'react' export default function InputError({ message, className = '', ...props }: HTMLAttributes<HTMLParagraphElement> & { message?: string }) { return message ? ( <p {...props} className={`text-sm text-red-600 dark:text-red-400 ${className}`}> {message} </p> ) : null }
Version data entries
9 entries across 9 versions & 1 rubygems