gix-components
gix-components copied to clipboard
Radio toggle component
Motivation
A radio group component to be used first on the proposals page.
Changes
RadioTogglecompoent
Test
RadioToggle
Screenshots
Can we perhaps use Segment and SegmentButton, like we use here to switch between ckBTC and Bitcoin on the receive modal?
Can we perhaps use
SegmentandSegmentButton, like we use here to switch between ckBTC and Bitcoin on the receive modal?
Perhaps we could, but this means to support 2 different themes for the component with different styles / widths.
Let me evaluate it.
I think we should be careful about adding new design elements every time we add a new feature and try to reuse components as much as possible. Would be could if you could check with PM/UX if this can be reused. Maybe by adjusting either the existing component or the new feature. Thanks!
Closing this PR as it’s no longer relevant.