Skip to content

Commit

Permalink
docs: add description to timelinemarker examples
Browse files Browse the repository at this point in the history
  • Loading branch information
YulyGP committed Jan 15, 2021
1 parent e86e4ff commit 4476552
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/TimelineMarker/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
##### TimeLineMarker base:
# The basic TimelineMarker
##### This example represents a TimelineMarker with a simple style and functionality. As you can see in the code section, you can add some information using the properties `label`, `icon`, `datetime`, and `description`.

```js
import React from 'react';
Expand All @@ -18,7 +19,8 @@ const iconStyles = { width: 32, height: 32 };
</div>
```

##### TimeLineMarker with content and description:
# TimelineMarker with image
##### In addition to the descriptive information of the item in the TimelineMarker, you can add an image, as you can see in the example below.

```js
import React from 'react';
Expand Down

0 comments on commit 4476552

Please sign in to comment.