+
{size && children(size.width, size.height)}
+
+ {legend}
+
+
+ );
+};
+
+interface VizSize {
+ width: number;
+ height: number;
+}
+
+/**
+ * @beta
+ */
+export interface VizLayoutLegendProps {
+ position: 'bottom' | 'right';
+ maxHeight?: string;
+ maxWidth?: string;
+ children: React.ReactNode;
+}
+
+/**
+ * @beta
+ */
+export const VizLayoutLegend: FC