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
Copy file name to clipboardExpand all lines: packages/react-core/src/components/Toolbar/examples/Toolbar.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,16 +24,6 @@ Note: This example does not demonstrate responsive toolbar behavior. Responsive
24
24
25
25
```
26
26
27
-
### Toolbar item spacers
28
-
29
-
You may adjust the space between toolbar items to arrange them into groups. Read our spacers documentation to learn more about using spacers.
30
-
31
-
Items are spaced “16px” apart by default and can be modified by changing their or their parents' `gap`, `columnGap`, and `rowGap` properties. You can set the property values at multiple breakpoints, including "default", "md", "lg", "xl", and "2xl".
32
-
33
-
```ts file="./ToolbarSpacers.tsx"
34
-
35
-
```
36
-
37
27
### With adjusted inset
38
28
39
29
To adjust a toolbar’s inset, use the `inset` property. You can set the inset value at multiple breakpoints, including "default", "md", "lg, "xl", and "2xl". Inset values include “insetNone”, “insetSm”, “insetMd”, “insetLg”, “insetXl”, and “inset2xl”.
@@ -120,3 +110,20 @@ When all of a toolbar's required elements cannot fit in a single line, you can s
120
110
```ts file="./ToolbarStacked.tsx"
121
111
122
112
```
113
+
114
+
## Examples with toolbar spacers
115
+
You may adjust the space between toolbar items to arrange them into groups. Read our spacers documentation to learn more about using spacers.
116
+
117
+
Items are spaced “16px” apart by default and can be modified by changing their or their parents' `gap`, `columnGap`, and `rowGap` properties. You can set the property values at multiple breakpoints, including "default", "md", "lg", "xl", and "2xl".
0 commit comments