Skip to content

Commit

Permalink
Work
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Jun 3, 2024
1 parent ff3eda7 commit 991a55e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data/date-pickers/custom-views/custom-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ It allows the user to navigate through months and to switch to the month and yea

You can pass props to the calendar header as shown below:

{{"demo": "CalendarHeaderComponentProps.js", "defaultCodeOpen": false}}
{{"demo": "CalendarHeaderComponentProps.js"}}

### Component

You can pass custom components to replace the header, as shown below:

{{"demo": "CalendarHeaderComponent.js", "defaultCodeOpen": false}}
{{"demo": "CalendarHeaderComponent.js"}}

When used with a date range component,
you receive three additional props to let you handle scenarios where multiple months are rendered:
Expand Down

0 comments on commit 991a55e

Please sign in to comment.