Removed all default export except for services and reducers

This commit is contained in:
Alejandro Celaya
2022-05-28 11:16:59 +02:00
parent 2cac1d9fd2
commit 1d60db25bd
92 changed files with 159 additions and 214 deletions

View File

@@ -1,5 +1,5 @@
import { endOfDay } from 'date-fns';
import DateInput from '../DateInput';
import { DateInput } from '../DateInput';
import { DateRange } from './types';
interface DateRangeRowProps extends DateRange {
@@ -8,7 +8,7 @@ interface DateRangeRowProps extends DateRange {
disabled?: boolean;
}
const DateRangeRow = (
export const DateRangeRow = (
{ startDate = null, endDate = null, disabled = false, onStartDateChange, onEndDateChange }: DateRangeRowProps,
) => (
<div className="row">
@@ -35,5 +35,3 @@ const DateRangeRow = (
</div>
</div>
);
export default DateRangeRow;

View File

@@ -10,7 +10,7 @@ import {
rangeIsInterval,
dateRangeIsEmpty,
} from './types';
import DateRangeRow from './DateRangeRow';
import { DateRangeRow } from './DateRangeRow';
import { DateIntervalDropdownItems } from './DateIntervalDropdownItems';
export interface DateRangeSelectorProps {