openreplay/frontend/app/components/shared/SelectDateRange/SelectDateRange.tsx
2022-05-06 18:54:25 +02:00

22 lines
No EOL
484 B
TypeScript

import React from 'react';
import { DATE_RANGE_OPTIONS } from 'App/dateRange'
import Select from 'Shared/Select';
interface Props {
startDate: string;
endDate: string;
range: string;
onChange: (startDate: string, endDate: string) => void;
}
function SelectDateRange(props: Props) {
return (
<div>
<Select
plain
options={DATE_RANGE_OPTIONS}
/>
</div>
);
}
export default SelectDateRange;