---
import type { ValidationError } from '@astro-reactive/common';

export interface Props {
	errors: ValidationError[];
}

const { errors = [] } = Astro.props;
---

{
	errors.map((error) => (
		<li>
			{error.error} {error.limit}
		</li>
	))
}
