|
|
|
@ -30,6 +30,9 @@ export interface ContainerProps { |
|
|
|
shrink?: number; |
|
|
|
shrink?: number; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated use Stack component instead |
|
|
|
|
|
|
|
*/ |
|
|
|
export const Layout = ({ |
|
|
|
export const Layout = ({ |
|
|
|
children, |
|
|
|
children, |
|
|
|
orientation = Orientation.Horizontal, |
|
|
|
orientation = Orientation.Horizontal, |
|
|
|
@ -58,6 +61,9 @@ export const Layout = ({ |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated use Stack component instead |
|
|
|
|
|
|
|
*/ |
|
|
|
export const HorizontalGroup = ({ |
|
|
|
export const HorizontalGroup = ({ |
|
|
|
children, |
|
|
|
children, |
|
|
|
spacing, |
|
|
|
spacing, |
|
|
|
@ -79,6 +85,10 @@ export const HorizontalGroup = ({ |
|
|
|
{children} |
|
|
|
{children} |
|
|
|
</Layout> |
|
|
|
</Layout> |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated use Stack component with the "column" direction instead |
|
|
|
|
|
|
|
*/ |
|
|
|
export const VerticalGroup = ({ |
|
|
|
export const VerticalGroup = ({ |
|
|
|
children, |
|
|
|
children, |
|
|
|
spacing, |
|
|
|
spacing, |
|
|
|
|