ASPNetCore/Next/components/Errors.tsx

6 lines
105 B
TypeScript
Raw Normal View History

2021-03-29 07:08:26 +00:00
export default function Errors({ errors }) {
return errors.map(x => (
<li>{x}</li>
));
}