Skip to content

Commit 6ecd1a3

Browse files
authored
Enhance TokenDrawer: Add tooltips for FTF rate limit capacity and refill rate (#240)
1 parent 5f14afd commit 6ecd1a3

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

src/components/CCIP/Drawer/TokenDrawer.tsx

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,39 @@ function TokenDrawer({
324324
<span className="ccip-table__header-sublabel">(Tokens/sec)</span>
325325
</th>
326326
<th>
327-
<div>FTF Rate limit capacity</div>
327+
<div>
328+
FTF Rate limit capacity
329+
<Tooltip
330+
label=""
331+
tip="Maximum amount per transaction for fast transfers"
332+
labelStyle={{
333+
marginRight: "5px",
334+
}}
335+
style={{
336+
display: "inline-block",
337+
verticalAlign: "middle",
338+
marginBottom: "2px",
339+
}}
340+
/>
341+
</div>
328342
<span className="ccip-table__header-sublabel">(Tokens)</span>
329343
</th>
330344
<th>
331-
<div>FTF Rate limit refill rate</div>
345+
<div>
346+
FTF Rate limit refill rate
347+
<Tooltip
348+
label=""
349+
tip="Rate at which available capacity is replenished for fast transfers"
350+
labelStyle={{
351+
marginRight: "5px",
352+
}}
353+
style={{
354+
display: "inline-block",
355+
verticalAlign: "middle",
356+
marginBottom: "2px",
357+
}}
358+
/>
359+
</div>
332360
<span className="ccip-table__header-sublabel">(Tokens/sec)</span>
333361
</th>
334362
<th>Verifiers</th>

0 commit comments

Comments
 (0)