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
Added a new `labelPlacement` prop to `IconButton` and `ToggleButton` components to control the placement of a tooltip that is shown when the `label` prop is specified.
Copy file name to clipboardExpand all lines: apps/website/src/content/docs/components/mui/ToggleButton.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ links:
11
11
## StrataKit MUI modifications
12
12
13
13
- A `label` prop has been added. When specified, it is used as the **ToggleButton’s** accessible name and is also shown in a tooltip on hover and focus.
14
+
- A `labelPlacement` prop has been added to control the placement of a tooltip that is shown when the `label` prop is specified.
14
15
-**ToggleButtons** are styled to match the visual appearance of the [**IconButton**](/components/iconbutton) component. Borders are displayed only when the buttons are wrapped in a `ToggleButtonGroup`. [Standalone](#standalone)**ToggleButtons** do not have borders.
15
16
-**ToggleButtons** can now be rendered as regular [**Buttons**](/components/button) to [display text](#text).
0 commit comments