Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"./dist/react-big-calendar.js": {
"bundled": 554005,
"minified": 170219,
"gzipped": 50027
"bundled": 553987,
"minified": 170205,
"gzipped": 50025
},
"./dist/react-big-calendar.min.js": {
"bundled": 490228,
"minified": 150810,
"gzipped": 45487
},
"dist/react-big-calendar.esm.js": {
"bundled": 169733,
"minified": 81582,
"gzipped": 20080,
"bundled": 169712,
"minified": 81562,
"gzipped": 20075,
"treeshaked": {
"rollup": {
"code": 62970,
Expand Down
4 changes: 2 additions & 2 deletions src/Popup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import PropTypes from 'prop-types'
import React, { Element } from 'react'
import React from 'react'
import getOffset from 'dom-helpers/query/offset'
import getScrollTop from 'dom-helpers/query/scrollTop'
import getScrollLeft from 'dom-helpers/query/scrollLeft'
Expand Down Expand Up @@ -101,7 +101,7 @@ Popup.propTypes = {
slotEnd: PropTypes.number,
popperRef: PropTypes.oneOfType([
PropTypes.func,
PropTypes.shape({ current: PropTypes.instanceOf(Element) }),
PropTypes.shape({ current: PropTypes.Element }),
]),
}

Expand Down