Skip to content

Commit

Permalink
merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
carkom committed Jan 6, 2024
1 parent 9573ae0 commit 2f363aa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { BarLineGraph } from './graphs/BarLineGraph';
import { DonutGraph } from './graphs/DonutGraph';
import { LineGraph } from './graphs/LineGraph';
import { StackedBarGraph } from './graphs/StackedBarGraph';
import { ReportTable} from './graphs/tableGraph/ReportTable';
import ReportTableHeader from './graphs/tableGraph/ReportTableHeader';
import ReportTableList from './graphs/tableGraph/ReportTableList';
import ReportTableTotals from './graphs/tableGraph/ReportTableTotals';
import { ReportTable } from './graphs/tableGraph/ReportTable';
import { ReportTableHeader } from './graphs/tableGraph/ReportTableHeader';
import { ReportTableList } from './graphs/tableGraph/ReportTableList';
import { ReportTableTotals } from './graphs/tableGraph/ReportTableTotals';
import { ReportOptions } from './ReportOptions';

type ChooseGraphProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import React, {
import { type RefProp } from 'react-spring';

import { type CSSProperties } from '../../../../style';
import View from '../../../common/View';
import { View } from '../../../common/View';

type ReportTableProps = {
saveScrollWidth?: (value: number) => void;
Expand All @@ -17,7 +17,7 @@ type ReportTableProps = {
handleScroll?: UIEventHandler<HTMLDivElement>;
};

export default function ReportTable({
export function ReportTable({
saveScrollWidth,
listScrollRef,
style,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { type UIEventHandler } from 'react';
import { type RefProp } from 'react-spring';

import { styles, theme } from '../../../../style';
import View from '../../../common/View';
import { View } from '../../../common/View';
import { Row, Cell } from '../../../table';
import { type MonthData } from '../../entities';

Expand All @@ -15,7 +15,7 @@ type ReportTableHeaderProps = {
handleScroll?: UIEventHandler<HTMLDivElement>;
};

function ReportTableHeader({
export function ReportTableHeader({
scrollWidth,
groupBy,
interval,
Expand Down Expand Up @@ -109,5 +109,3 @@ function ReportTableHeader({
</Row>
);
}

export default ReportTableHeader;
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from 'loot-core/src/shared/util';

import { type CSSProperties, styles, theme } from '../../../../style';
import View from '../../../common/View';
import { View } from '../../../common/View';
import { Row, Cell } from '../../../table';

type TableRowProps = {
Expand Down Expand Up @@ -186,7 +186,7 @@ function GroupedTableRow({
);
}

export default function ReportTableList({
export function ReportTableList({
data,
empty,
monthsCount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from 'loot-core/src/shared/util';

import { styles, theme } from '../../../../style';
import View from '../../../common/View';
import { View } from '../../../common/View';
import { Row, Cell } from '../../../table';
import { type DataEntity } from '../../entities';

Expand All @@ -22,7 +22,7 @@ type ReportTableTotalsProps = {
handleScroll: UIEventHandler<HTMLDivElement>;
};

function ReportTableTotals({
export function ReportTableTotals({
data,
scrollWidth,
balanceTypeOp,
Expand Down Expand Up @@ -154,5 +154,3 @@ function ReportTableTotals({
</Row>
);
}

export default ReportTableTotals;

0 comments on commit 2f363aa

Please sign in to comment.