Skip to content

Commit d875b86

Browse files
committed
fix code example
1 parent 071d4c0 commit d875b86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/Calendar.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ You will need to:
403403

404404
Here is an example:
405405

406+
{% raw %}
407+
406408
```tsx
407409
import { DatesSetArg } from '@fullcalendar/core';
408410
import { add, set, sub } from 'date-fns';
@@ -466,6 +468,8 @@ const EventListEventFormat = () => {
466468
};
467469
```
468470

471+
{% endraw %}
472+
469473
## `<Calendar>`
470474

471475
A wrapper around full-calendar's `<FullCalendar>` component, using react-admin's `useListContext` hook to read data, and linking to the edit and create views of the current resource. Must be used inside a `<ListContext>`.

0 commit comments

Comments
 (0)