6 lines
105 B
TypeScript
6 lines
105 B
TypeScript
|
|
||
|
export default function Errors({ errors }) {
|
||
|
return errors.map(x => (
|
||
|
<li>{x}</li>
|
||
|
));
|
||
|
}
|