@grafana/plugin-types 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -121,6 +121,7 @@ export type DrawerViewProps = {
|
|
|
121
121
|
start: string;
|
|
122
122
|
end: string;
|
|
123
123
|
};
|
|
124
|
+
export type DrawerSize = "sm" | "md" | "lg";
|
|
124
125
|
export type ConnectedEntityType = {
|
|
125
126
|
type: string;
|
|
126
127
|
scopeCriteria?: ScopeCriteria;
|
|
@@ -134,7 +135,9 @@ export interface EntityCrossLinkWidgetProps {
|
|
|
134
135
|
scopeCriteria?: ScopeCriteria;
|
|
135
136
|
backTo?: string;
|
|
136
137
|
onConnectedEntityClick?: (entity: Entity) => void;
|
|
138
|
+
drawerTitle?: string | JSX.Element;
|
|
137
139
|
drawerView?: (props: DrawerViewProps) => JSX.Element;
|
|
140
|
+
drawerSize?: DrawerSize;
|
|
138
141
|
}
|
|
139
142
|
export interface RelatedEntitiesWidgetProps {
|
|
140
143
|
labels: Record<string, string | number>;
|