mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-03 14:21:49 +00:00
Removed all default export except for services and reducers
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
rangeIsInterval,
|
||||
dateRangeIsEmpty,
|
||||
} from './types';
|
||||
import DateRangeRow from './DateRangeRow';
|
||||
import { DateRangeRow } from './DateRangeRow';
|
||||
import { DateIntervalDropdownItems } from './DateIntervalDropdownItems';
|
||||
|
||||
export interface DateRangeSelectorProps {
|
||||
|
||||
Reference in New Issue
Block a user