import React from 'react'; import PropTypes from 'prop-types'; import { Row } from 'patternfly-react'; import { noop } from 'foremanReact/common/helpers'; import { translate as __ } from 'foremanReact/common/I18n'; import { timePropType } from '../../TasksDashboardPropTypes'; import { TASKS_DASHBOARD_AVAILABLE_TIMES } from '../../TasksDashboardConstants'; import TimeDropDown from './Components/TimeDropDown/TimeDropDown'; import './TasksTimeRow.scss'; const TasksTimeRow = ({ time, updateTime }) => ( {__('With focus on last')} ); TasksTimeRow.propTypes = { time: timePropType, updateTime: PropTypes.func, }; TasksTimeRow.defaultProps = { time: TASKS_DASHBOARD_AVAILABLE_TIMES.H24, updateTime: noop, }; export default TasksTimeRow;