19 lines
295 B
TypeScript
19 lines
295 B
TypeScript
|
import './Timeline.scss'
|
||
|
import react, { ReactNode } from 'react'
|
||
|
|
||
|
type TimelapseProps = {
|
||
|
children: ReactNode
|
||
|
}
|
||
|
|
||
|
function Timeline({ children } : TimelapseProps) {
|
||
|
|
||
|
return (
|
||
|
<div className='timeline'>
|
||
|
<ul>
|
||
|
{ children }
|
||
|
</ul>
|
||
|
</div>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default Timeline
|