Skip to content

Commit a9206bf

Browse files
committed
docs:typescript
1 parent 3dea8da commit a9206bf

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/data/charts/heatmap/HeatmapLegend.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export default function HeatmapLegend() {
1515
slotProps={{
1616
legend: {
1717
direction: 'vertical',
18-
sx: { alignSelf: 'stretch', maxHeight: 200 },
18+
position: { vertical: 'middle' },
19+
sx: { height: 200 },
1920
},
2021
}}
2122
/>

docs/data/charts/heatmap/HeatmapLegend.tsx.preview

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
slotProps={{
88
legend: {
99
direction: 'vertical',
10-
sx: { alignSelf: 'stretch', maxHeight: 200 },
10+
position: { vertical: 'middle' },
11+
sx: { height: 200 },
1112
},
1213
}}
1314
/>

0 commit comments

Comments
 (0)