gpt4 book ai didi

javascript - 更改索环组件的 colorIndex

转载 作者:太空宇宙 更新时间:2023-11-04 15:57:24 25 4
gpt4 key购买 nike

如何更改索环中图标、图形等组件的 colorIndex?

提前致谢。

最佳答案

使用 colorIndex 属性,与在其他 Grommet 组件上使用的属性非常相似。

<Line values={...} max={...} colorIndex='ok' />

可用颜色可在 https://grommet.github.io/docs/color/ 找到.

关于javascript - 更改索环组件的 colorIndex,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42580621/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com