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
* upgrade css-loader (#1050)
* Bump postcss from 8.4.29 to 8.4.31 (#1051)
* Fixes Bootstrap classname collision in Tabs component for Rails Server (#1049)
* Fixes prop name in Tabs (#1052)
Prevents tab class name prop from getting overridden.
* add trailingText to Input component (#1056)
* Allow drawer to be expanded by default (#1057)
Proin elementum vitae nibh nec tincidunt. Donec vel placerat mi, vitae malesuada odio. Sed varius libero sed erat faucibus ultrices. Suspendisse potenti. Mauris sit amet sollicitudin urna. Donec porttitor, est quis aliquet condimentum, nisi felis porta odio, eu luctus dui ex id nisi. Curabitur ultrices enim in dolor laoreet porta. Proin vehicula at nisl a maximus. Sed lorem enim, elementum in arcu eu, lacinia consequat arcu. Pellentesque non nibh viverra, imperdiet purus at, finibus turpis. Sed mattis erat a risus dignissim, eu ultrices est rhoncus. Fusce nec feugiat tortor. Quisque tincidunt nulla urna, ut egestas massa congue a. Quisque metus felis, auctor sit amet posuere eu, aliquam blandit libero. Mauris sodales, velit sit amet egestas aliquet, ipsum arcu porta lacus, vitae mattis felis elit in metus. Nulla ligula ligula, laoreet in dictum sit amet, pretium ac est.
Copy file name to clipboardExpand all lines: src/Drawer/Drawer.mdx
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ import * as ComponentStories from './Drawer.stories';
15
15
16
16
<Canvasof={ComponentStories.Default} />
17
17
18
-
### When to use
18
+
### When to use
19
19
When we want to focus the user’s attention on an interactive interface or a large amount of information
20
20
21
21
### When to not use
@@ -50,7 +50,12 @@ Pass `orientation="left"` to override the default behavior of sliding in from th
50
50
51
51
### Expandable
52
52
53
-
Setting `expandable` allows the drawer to expand to the full size of the viewport
53
+
Setting `expandable` allows the drawer to expand to the full size of the viewport when the expand button is clicked.
54
+
55
+
### Default Expanded
56
+
57
+
Setting `defaultExpanded` allows the drawer to expand the full size of the viewport by default. This can be used in conjunction with `expandable.` For example if
58
+
you want the drawer to be the full width of the viewport but you want to disable the ability to collapse it, you can set `expandable=false` and `defaultExpanded=true`.
0 commit comments