File tree 1 file changed +9
-1
lines changed
packages/clay-management-toolbar/src
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,18 @@ interface IProps extends React.HTMLAttributes<HTMLElement> {
16
16
* Flag that identifies when to show the active state of the component.
17
17
*/
18
18
active ?: boolean ;
19
+
20
+ /**
21
+ * Set a maximum width on container-fluid.
22
+ */
23
+ fluidSize ?: React . ComponentProps < typeof ClayLayout . Container > [ 'fluidSize' ] ;
19
24
}
20
25
21
26
function ManagementToolbar ( {
22
27
active = false ,
23
28
children,
24
29
className,
30
+ fluidSize,
25
31
...otherProps
26
32
} : IProps ) {
27
33
return (
@@ -36,7 +42,9 @@ function ManagementToolbar({
36
42
}
37
43
) }
38
44
>
39
- < ClayLayout . ContainerFluid > { children } </ ClayLayout . ContainerFluid >
45
+ < ClayLayout . ContainerFluid size = { fluidSize } >
46
+ { children }
47
+ </ ClayLayout . ContainerFluid >
40
48
</ nav >
41
49
) ;
42
50
}
You can’t perform that action at this time.
0 commit comments