Skip to content
On this page

Render custom content

You can also render custom content and display almost anything inside the timeline cards.

To render custom content, wrap the custom content in a div and pass it as a child element to the Chrono component.

      <div style={{ width: "250px", height: "250px" }}>
          style={{ maxWidth: "100%", maxHeight: "100%" }}
      <h3>This is a List</h3>
        <li>Item 1</li>
        <li>Item 2</li>
        The Battle of Dunkirk (French: Bataille de Dunkerque) was fought
        in Dunkirk (Dunkerque), France, during the Second World War,
        between the Allies and Nazi Germany.
    <div style={{ margin: "1rem" }}>
            <td>Column 1</td>
            <td>Column 2</td>
            <td>Column 3</td>
            <td>Column 4</td>
            <td>Value 1</td>
            <td>Value 2</td>
            <td>Value 3</td>
            <td>Value 4</td>


Edit react-chrono-vertical-custom

Released under the MIT License.