More options for RadioButtonGroup?

I need to manipulate the buttons colors, but I don’t see anything on the docs:

Also: what does it mean “variables” on the doc? I am using props to pass values into the component (props: value, options, onChange)

variables = props ??

I would appreciate any help :slight_smile:

Here’s the storybook for RadioButtonGroup with some additional docs:

https://developers.grafana.com/ui/latest/index.html?path=/docs/forms-radiobuttongroup--radio-buttons

are you building a plugin?

wow, thanks. maybe I can use className, but then it will be the same for both dark and light mode… I’ll try that.

Yes, actually I’m modifying the Time Series panel. I added 3 preset buttons

1 Like