import React, {ComponentProps} from 'react'; import {CheckBadgeIcon} from '@heroicons/react/24/outline'; import {getTagColor, getTagTitle, Tag} from '../Model/tag'; import {groupBy, map} from 'lodash'; function Skills(props: ComponentProps) { const tagsByCat = groupBy(props.tags, 'category') return (

Compétences

{map(tagsByCat, (tags, cat) => { return (

{getTagTitle(cat)}

{tags.map((t: Tag) => )}
) })}
); } export default Skills;