1
0
mirror of synced 2025-12-21 10:57:10 -05:00
Files
docs/components/guides/LearningTracks.tsx
Grace Park 4ff5167e51 Updating name: sublanding to guides and using DropdownMenu for type/topics filter (#23290)
* updating sublanding to guides page and using DropdownMenu primer component

* fix linting error

* remove unnecessary import

* updating translation files

* move data-testid

* trying to fix test

* fix browser tests

* Update content/README.md

Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>

Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
2021-12-02 18:43:33 +00:00

15 lines
460 B
TypeScript

import { useProductGuidesContext } from 'components/context/ProductGuidesContext'
import { LearningTrack } from 'components/guides/LearningTrack'
export const LearningTracks = () => {
const { learningTracks } = useProductGuidesContext()
return (
<div className="d-flex flex-wrap flex-items-start my-5 gutter">
{(learningTracks || []).map((track) => {
return <LearningTrack key={track?.title} track={track} />
})}
</div>
)
}