openreplay/frontend/app/components/shared/DateRange.js
Shekar Siri 2ed5cac986
Webpack upgrade and dependency cleanup (#523)
* change(ui) - webpack update
* change(ui) - api optimize and other fixes
2022-06-03 16:47:38 +02:00

22 lines
No EOL
603 B
JavaScript

import React from 'react';
import DateRangeDropdown from 'Shared/DateRangeDropdown';
function DateRange (props) {
const { direction = "left", startDate, endDate, rangeValue, className, onDateChange, customRangeRight=false, customHidden = false } = props;
return (
<DateRangeDropdown
button
onChange={ onDateChange }
rangeValue={ rangeValue }
startDate={ startDate }
endDate={ endDate }
className={ className }
customRangeRight={customRangeRight}
customHidden={customHidden}
direction={direction}
/>
);
}
export default DateRange