ui: Clean up toggle button group component (#35303)
This change cleans up the toggle button component a bit by utilizing
const parameters instead and also removes some clones by consuming the
values where possible instead.
Release Notes:
- N/A
57766199cfFinn Evers committed on 7/29/2025, 10:47:04 PM· committed by GitHubparent0be83f1