You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Introduce Tooltip to SegmentedControlIconButton (#5679)
* feat: Introduce Tooltip to SegmentedControlIconButton
* fix: Ensure tooltip renders description
* Create sharp-flowers-repair.md
* fix: run prettier
* test to fill out
* all tests pass
* update docs
* Run prettier
* Swap to use feature flag
* Fix syntax issue
* Remove unsafeDisableTooltip from branch
Copy file name to clipboardexpand all lines: packages/react/src/SegmentedControl/SegmentedControl.docs.json
+14-2
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@
144
144
"description": "Whether the segment is selected. This is used for controlled SegmentedControls, and needs to be updated using the onChange handler on SegmentedControl."
@@ -27,6 +28,10 @@ export type SegmentedControlIconButtonProps = {
27
28
selected?: boolean
28
29
/** Whether the segment is selected. This is used for uncontrolled SegmentedControls to pick one SegmentedControlButton that is selected on the initial render. */
29
30
defaultSelected?: boolean
31
+
/** Supplementary description that renders inside tooltip in place of the label.*/
0 commit comments