Skip to content

Commit 3a84982

Browse files
committed
AgendaList - restoring PropTypes
1 parent 8e83379 commit 3a84982

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/expandableCalendar/agendaList.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import PropTypes from 'prop-types';
2+
13
import get from 'lodash/get';
24
import map from 'lodash/map';
35
import isFunction from 'lodash/isFunction';
@@ -265,6 +267,14 @@ const AgendaList = (props: AgendaListProps) => {
265267
export default AgendaList;
266268

267269
AgendaList.displayName = 'AgendaList';
270+
AgendaList.propTypes = {
271+
dayFormat: PropTypes.string,
272+
dayFormatter: PropTypes.func,
273+
useMoment: PropTypes.bool,
274+
markToday: PropTypes.bool,
275+
sectionStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.number, PropTypes.array]),
276+
avoidDateUpdates: PropTypes.bool
277+
};
268278
AgendaList.defaultProps = {
269279
dayFormat: 'dddd, MMM d',
270280
stickySectionHeadersEnabled: true,

0 commit comments

Comments
 (0)