1

How do i change the colorIndex of the the components in grommet like icons ,graphs,?

Thanks in advance.

Rahul P
  • 33
  • 1
  • 5

1 Answers1

1

Use the colorIndex property, much the same as you would on other Grommet components.

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

The available colors can be found at https://grommet.github.io/docs/color/.

Brian Fahey
  • 49
  • 1
  • 4