Skip to content

Commit e33b91f

Browse files
Fix reference to Calender control & assets within
1 parent 90f7310 commit e33b91f

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

docs/documentation/docs/controls/Calendar.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ The Calendar Control allows users to view and manage events in a calendar interf
66

77
Here is an example of the control in action:
88

9-
![calendar](../assets/calendar1.png)
10-
![calendar](../assets/calendar2.png)
11-
![calendar](../assets/calendar3.png)
12-
![calendar](../assets/calendar4.png)
13-
![calendar](../assets/calendar5.png)
14-
![calendar](../assets/calendar6.png)
9+
![calendar](../assets/Calendar1.png)
10+
![calendar](../assets/Calendar2.png)
11+
![calendar](../assets/Calendar3.png)
12+
![calendar](../assets/Calendar4.png)
13+
![calendar](../assets/Calendar5.png)
14+
![calendar](../assets/Calendar6.png)
1515

1616
## Installation
1717

@@ -31,17 +31,17 @@ import { IEvent } from '@pnp/spfx-controls-react/lib/calendar/IEvent';
3131

3232
The Calendar Control accepts the following props:
3333

34-
| Property | Type | Required | Description |
35-
| ------------- | ---------------------- | -------- | ------------------------------------------------------------------- |
36-
| events | IEvent[] | Yes | List of events to display in the calendar. |
37-
| height | string \| number | No | Height of the calendar. |
38-
| theme | Theme | No | Theme to apply to the calendar. |
39-
| onMonthChange | (date: Date) => void | No | Callback function triggered when the month changes. |
40-
| onDayChange | (date: Date) => void | No | Callback function triggered when the day changes. |
41-
| onWeekChange | (date: Date) => void | No | Callback function triggered when the week changes. |
42-
| onNext | (date: Date) => void | No | Callback function triggered when navigating to the next period. |
43-
| onPrev | (date: Date) => void | No | Callback function triggered when navigating to the previous period. |
44-
| onViewChange | (view: string) => void | No | Callback function triggered when the view changes. |
34+
| Property | Type | Required | Description |
35+
| -------------- | ---------------------- | -------- | ------------------------------------------------------------------------------ |
36+
| events | IEvent[] | Yes | List of events to display in the calendar. |
37+
| height | string \| number | No | Height of the calendar. |
38+
| theme | Theme | No | Theme to apply to the calendar. |
39+
| onMonthChange | (date: Date) => void | No | Callback function triggered when the month changes. |
40+
| onDayChange | (date: Date) => void | No | Callback function triggered when the day changes. |
41+
| onWeekChange | (date: Date) => void | No | Callback function triggered when the week changes. |
42+
| onNext | (date: Date) => void | No | Callback function triggered when navigating to the next period. |
43+
| onPrev | (date: Date) => void | No | Callback function triggered when navigating to the previous period. |
44+
| onViewChange | (view: string) => void | No | Callback function triggered when the view changes. |
4545
| onDaySlotClick | (date: Date) => void | No | Callback function triggered when an event is clicked on day slot on Month view |
4646

4747
## Event Object (IEvent)
@@ -71,9 +71,9 @@ Events displayed in the calendar are represented using the `IEvent` interface:
7171
| onRenderInDayView | (event: IEvent) => JSX.Element | No | Custom rendering function for day view. |
7272
| enableOnHover | boolean | No | Whether to enable hover effects on events. |
7373
| imageUrl | string | No | URL for an event-related image. |
74-
| webLink | string | No | URL to navigate to event details. |
75-
| color | string | No | Custom color for the event. |
76-
| backgroundColor | string | No | Custom background color for the event. |
74+
| webLink | string | No | URL to navigate to event details. |
75+
| color | string | No | Custom color for the event. |
76+
| backgroundColor | string | No | Custom background color for the event. |
7777

7878
## Attendee Object (IAttendee)
7979

docs/documentation/mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ nav:
1414
- AdaptiveCardHost: 'controls/AdaptiveCardHost.md'
1515
- AdaptiveCardDesignerHost: 'controls/AdaptiveCardDesignerHost.md'
1616
- AnimatedDialog: 'controls/AnimatedDialog.md'
17+
- Calendar: 'controls/Calendar.md'
1718
- Carousel: 'controls/Carousel.md'
1819
- Charts:
1920
- "ChartControl": 'controls/ChartControl.md'

0 commit comments

Comments
 (0)