Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vedant-jain03 authored Feb 7, 2023
1 parent 060ce5d commit db16266
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,20 @@ const sampleData = [
]
```

### Month Bar

If you want to render the month bar, use `showMonth` props. By default it is set to `false`
![Screenshot from 2023-02-07 09-20-17](https://user-images.githubusercontent.com/76901313/217143732-439af3f3-b352-4a44-9e7b-f1bada42c6e0.png)


```
showMonth={true}
```

### Pass it in the component

```
<ActivityCalendar sampleData={sampleData} colorCustomization={colorCustomization} />
<ActivityCalendar sampleData={sampleData} colorCustomization={colorCustomization} showMonth={true} />
```

# Contribute:
Expand Down

0 comments on commit db16266

Please sign in to comment.