Begin migrate to leptos

This commit is contained in:
Florian RICHER 2023-10-08 20:26:40 +02:00
parent 1060e12513
commit 79daad993e
45 changed files with 3202 additions and 1975 deletions

View file

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