This commit is contained in:
Florian RICHER 2023-06-04 00:51:03 +02:00
parent d025aded31
commit 6391f4abf4
9 changed files with 102 additions and 622 deletions

View file

@ -1,13 +1,20 @@
import react, {ReactNode} from 'react'
import Project from '../../data/Project'
type TimelineCardSummaryProps = {
children: ReactNode
children: ReactNode,
tags?: ReactNode[]
}
function TimelineCardSummary({ children } : TimelineCardSummaryProps) {
function TimelineCardSummary({ children, tags } : TimelineCardSummaryProps) {
return (
<>{children}</>
<>
{children}
{
tags && <div className='flex flex-wrap gap-2 mt-2'>
{ tags }
</div>
}
</>
)
}