File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 1- import PropTypes from 'prop-types' ;
21import XDate from 'xdate' ;
32
43import React , { useRef , useMemo , useContext } from 'react' ;
@@ -81,6 +80,8 @@ const CalendarListItem = React.memo((props: CalendarListItemProps) => {
8180 if ( item . getTime ) {
8281 return (
8382 < Calendar
83+ hideArrows = { true }
84+ hideExtraDays = { true }
8485 { ...props }
8586 testID = { testID }
8687 current = { getCalendarDateString ( item . toString ( ) ) }
@@ -106,14 +107,3 @@ const CalendarListItem = React.memo((props: CalendarListItemProps) => {
106107
107108export default CalendarListItem ;
108109CalendarListItem . displayName = 'CalendarListItem' ;
109- CalendarListItem . propTypes = {
110- ...Calendar . propTypes ,
111- item : PropTypes . any ,
112- calendarWidth : PropTypes . number ,
113- calendarHeight : PropTypes . number ,
114- horizontal : PropTypes . bool
115- } ;
116- CalendarListItem . defaultProps = {
117- hideArrows : true ,
118- hideExtraDays : true
119- } ;
You can’t perform that action at this time.
0 commit comments