Skip to content

Instantly share code, notes, and snippets.

@indreklasn
Last active October 6, 2020 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indreklasn/4331ed676a95b6a7bda6052526768fab to your computer and use it in GitHub Desktop.
Save indreklasn/4331ed676a95b6a7bda6052526768fab to your computer and use it in GitHub Desktop.
const items = [{
title: "May 1940",
contentTitle: "Dunkirk",
contentText:"Men of the British Expeditionary Force (BEF) wade out to a destroyer during the evacuation from Dunkirk.",
contentDetailedText: "On 10 May 1940, Hitler began his long-awaited offensive in the west...",
};
<div style={{ width: "500px", height: "400px" }}>
<chrono items={items} />
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment