-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.tsx
60 lines (59 loc) · 1.47 KB
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import { Chart, EChartVariants } from "~/uikit/chart";
import {
bdChartMockData,
chartMockData,
tdChartMockData,
} from "~/uikit/chart/mockData";
import { dataClouds, WordCloud } from "~/uikit/wordCloud";
import {Link} from "@remix-run/react";
export default function Index() {
return (
<div>
<h1>Welcome to Remix</h1>
<div>
<Link to="/catalogs">Перейти к каталогам</Link>
</div>
<div>
<WordCloud data={dataClouds} />
</div>
<h1>Chart variant 1</h1>
<Chart
banknote={"BTC"}
currencyCode={"RUB"}
currencyUnit=""
data={tdChartMockData}
listCurrenciesShow={["crypto", "fiat"]}
max={54}
min={-54}
theme="light"
variantChart={EChartVariants.Variant1}
/>
<div></div>
<h1>Chart variant 2</h1>
<Chart
banknote={"BTC"}
currencyCode={"RUB"}
currencyUnit=""
data={bdChartMockData}
listCurrenciesShow={["crypto", "fiat"]}
max={54}
min={-54}
theme="light"
variantChart={EChartVariants.Variant2}
/>
<div></div>
<h1>Chart variant 3</h1>
<Chart
banknote={"BTC"}
currencyCode={"RUB"}
currencyUnit=""
data={chartMockData}
listCurrenciesShow={["crypto", "fiat"]}
max={54}
min={-54}
theme="light"
variantChart={EChartVariants.Variant3}
/>
</div>
);
}