Skip to content

Commit c28b045

Browse files
committed
fix sampleDataItem
1 parent 2ab47f8 commit c28b045

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

examples/ecommerce-jewellery-store/src/components/AdminView.tsx

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,22 @@ import {
1717
import { Button } from '@progress/kendo-react-buttons';
1818
import { orderBy, groupBy } from '@progress/kendo-data-query';
1919
import { chartAreaStackedIcon } from '@progress/kendo-svg-icons';
20-
import { sampleData, SampleDataItem } from '../data/shared-gd-sampleChartData';
20+
import { sampleData } from '../data/shared-gd-sampleChartData';
2121
import { Pager, PageChangeEvent } from '@progress/kendo-react-data-tools';
2222

23+
interface SampleDataItem {
24+
ID: string;
25+
Product: string;
26+
SKU: string;
27+
Category: string;
28+
Price: number;
29+
Sales: number;
30+
Status: string;
31+
Quantity: number;
32+
URL: string;
33+
}
34+
35+
2336
const DATA_ITEM_KEY = 'ID';
2437
const SELECTED_FIELD = 'selected';
2538
const idGetter = getter(DATA_ITEM_KEY);

0 commit comments

Comments
 (0)