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