{ this.containerInstance = containerInstance; }}
style={{
width,
maxWidth,
}}
>
- { /* // $FlowFixMe */}
- {/* $FlowFixMe[prop-missing] automated comment */}
-
-
- { /* // $FlowFixMe */}
- {/* $FlowFixMe[prop-missing] automated comment */}
-
- { /* // $FlowFixMe */}
- {/* $FlowFixMe[prop-missing] automated comment */}
-
-
-
);
}
diff --git a/src/core_modules/capture-ui/DateAndTimeFields/DateField/DateCalendar.component.js b/src/core_modules/capture-ui/DateAndTimeFields/DateField/DateCalendar.component.js
deleted file mode 100644
index 73fb27a7c6..0000000000
--- a/src/core_modules/capture-ui/DateAndTimeFields/DateField/DateCalendar.component.js
+++ /dev/null
@@ -1,98 +0,0 @@
-// @flow
-/* eslint-disable class-methods-use-this */
-import React, { Component } from 'react';
-import moment from 'moment';
-import InfiniteCalendar from '@joakim_sm/react-infinite-calendar';
-import '@joakim_sm/react-infinite-calendar/styles.css';
-import './customStyles.css';
-
-type Props = {
- onDateSelected: (value: any) => void,
- value?: ?string,
- minMoment?: Object,
- maxMoment?: Object,
- currentWidth: number,
- height?: ?number,
- classes: Object,
- displayOptions?: ?Object,
- calendarTheme: Object,
- onConvertValueIn: (inputValue: ?string) => Date,
- onConvertValueOut: (date: Date) => string,
-};
-
-export class DateCalendar extends Component