import { classy } from '@audentio/utils/src/classy'; import React from 'react'; import style from './InputErrors.scss'; interface InputErrorsProps { errors?: Array; onClick?: () => void; className?: string; } export function InputErrors(props: InputErrorsProps) { const { errors = [], onClick, className } = props; if (!errors) return null; return (
0 && style.error_visible, className)}>
); }