Skip to content
Discussion options

You must be logged in to vote

I solved this issue, if anyone wants to see how, this is the code:

Custom renderer component (this works whether you want to render a custom item component or a group component)

const CustomGroupRenderer = ({group}) => {
    return (
      <div className="flex items-center justify-between">
        <img className="rounded shadow" src={group.picture} alt={group.title} height={'40px'} width={'40px'} />
        <p className="mx-2 font-bold">{group.title}</p>
      </div>
    );
  }

  export default CustomGroupRenderer;

Then just use it like this:

                            <Timeline
                              groups={filtered_employees}
                              groupRenderer={Cust…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lnagel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #901 on February 05, 2026 18:22.