-
Notifications
You must be signed in to change notification settings - Fork 646
Closed
Labels
Description
Describe the bug
As originally reported in #2267:
I'd like to be able to specify the SegmentedControl.Button as a small size as I can with other buttons
size is not a supported prop of SegmentedControl.Button - so I tried setting the fontSize through sx prop and it still has no effect.
To Reproduce
Steps to reproduce the behavior:
- Go to https://primer.style/react/SegmentedControl
- Note that
sizeis not a supported prop for the Button - Add
sx={{fontSize: 0}}to one of the buttons - Notice that nothing changes
Expected behavior
sx prop should apply to SegmentedControl.Button.
Desktop (please complete the following information):
- OS: [e.g. iOS] MacOS
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 104
