We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24e9d32 commit f6ab6fbCopy full SHA for f6ab6fb
src/action-sheet/template/grid.wxml
@@ -8,9 +8,10 @@
8
wx:key="index"
9
bind:tap="onSelect"
10
data-index="{{index}}"
11
- icon="{{item.icon}}"
+ icon="{{ { name: item.icon, color: item.color } }}"
12
text="{{item.label}}"
13
image="{{item.image}}"
14
+ style="--td-grid-item-text-color: {{item.color}}"
15
>
16
</t-grid-item>
17
</t-grid>
@@ -27,9 +28,10 @@
27
28
29
30
31
32
33
34
35
36
37
0 commit comments