mirror of
https://github.com/vercel/commerce.git
synced 2025-06-17 12:41:21 +00:00
16 lines
300 B
TypeScript
16 lines
300 B
TypeScript
import Link from 'next/link';
|
|
|
|
const DiseasesAndConditions = ({ taxons = [] }) => {
|
|
return (
|
|
<ul>
|
|
{taxons.map((taxon) => (
|
|
<li key={taxon.id}>
|
|
<Link href="/">{taxon.attributes.name}</Link>
|
|
</li>
|
|
))}
|
|
</ul>
|
|
);
|
|
};
|
|
|
|
export default DiseasesAndConditions;
|