mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Grafana/ui: Add deprecation notices to the legacy layout components (#81328)
This commit is contained in:
parent
8f0ae76afe
commit
75e1f7aa5e
@ -30,6 +30,9 @@ export interface ContainerProps {
|
||||
shrink?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use Stack component instead
|
||||
*/
|
||||
export const Layout = ({
|
||||
children,
|
||||
orientation = Orientation.Horizontal,
|
||||
@ -58,6 +61,9 @@ export const Layout = ({
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @deprecated use Stack component instead
|
||||
*/
|
||||
export const HorizontalGroup = ({
|
||||
children,
|
||||
spacing,
|
||||
@ -79,6 +85,10 @@ export const HorizontalGroup = ({
|
||||
{children}
|
||||
</Layout>
|
||||
);
|
||||
|
||||
/**
|
||||
* @deprecated use Stack component with the "column" direction instead
|
||||
*/
|
||||
export const VerticalGroup = ({
|
||||
children,
|
||||
spacing,
|
||||
|
Loading…
Reference in New Issue
Block a user