Skip to content

Commit

Permalink
Fixed #2092 - FullCalendar component is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Jun 7, 2021
1 parent 0870258 commit 68fb6fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/fullcalendar/FullCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export class FullCalendar extends Component {
}

componentDidMount() {
console.warn("FullCalendar component is deprecated. Use FullCalendar component of '@fullcalendar/react' package.");

this.config = {
theme: true
};
Expand Down
2 changes: 1 addition & 1 deletion src/showcase/fullcalendar/FullCalendarDoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const FullCalendarDemo = () => {
"@fullcalendar/react": "^5.7.0",
"@fullcalendar/daygrid": "^5.7.2",
"@fullcalendar/interaction": "^5.7.2",
"@fullcalendar/timegrid": "^5.7.2",
"@fullcalendar/timegrid": "^5.7.2"
}
}

Expand Down

0 comments on commit 68fb6fb

Please sign in to comment.