Skip to content

Commit

Permalink
docs: add info to activitytimeline examples
Browse files Browse the repository at this point in the history
  • Loading branch information
YulyGP committed Jan 15, 2021
1 parent b7ec076 commit 9c00423
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/ActivityTimeline/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
##### ActivityTimeline base example:
# The basic ActivityTimeline
##### This example shows a simple activity timeline that vertically displays a list of events in chronological order.

```js
import React from 'react';
Expand Down Expand Up @@ -39,7 +40,7 @@ const container = { width: 500, margin: 'auto', marginTop: 36, };
```

# ActivityTimeline as accordion
##### ActivityTimeline can be used as accordion. You can do so by using the `variant` prop.
##### ActivityTimeline can be used as accordion. You can do so by implementing the `variant` prop.

```js
import React, { useState, useMemo, useCallback, useEffect } from 'react';
Expand Down

0 comments on commit 9c00423

Please sign in to comment.