+
-
+
+
);
}
diff --git a/packages/grafana-ui/src/components/Table/_TableInputCSV.scss b/packages/grafana-ui/src/components/Table/_TableInputCSV.scss
new file mode 100644
index 00000000000..f88f60d8941
--- /dev/null
+++ b/packages/grafana-ui/src/components/Table/_TableInputCSV.scss
@@ -0,0 +1,17 @@
+.gf-table-input-wrap {
+ width: 100%;
+}
+
+.gf-table-input-wrap textarea {
+ height: 100%;
+ width: 100%;
+ resize: none;
+}
+
+.gf-table-input-wrap footer {
+ position: absolute;
+ bottom: 20px;
+ right: 20px;
+ border: 2px solid #222;
+ background: #ccc;
+}
diff --git a/packages/grafana-ui/src/components/Table/__snapshots__/TableInputCSV.test.tsx.snap b/packages/grafana-ui/src/components/Table/__snapshots__/TableInputCSV.test.tsx.snap
deleted file mode 100644
index 3c0f77966e5..00000000000
--- a/packages/grafana-ui/src/components/Table/__snapshots__/TableInputCSV.test.tsx.snap
+++ /dev/null
@@ -1,11 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`TableInputCSV renders correctly 1`] = `
-
-
-
-`;
diff --git a/packages/grafana-ui/src/components/index.scss b/packages/grafana-ui/src/components/index.scss
index a475a7ccc1b..56e20bd78e7 100644
--- a/packages/grafana-ui/src/components/index.scss
+++ b/packages/grafana-ui/src/components/index.scss
@@ -1,6 +1,7 @@
@import 'CustomScrollbar/CustomScrollbar';
@import 'DeleteButton/DeleteButton';
@import 'ThresholdsEditor/ThresholdsEditor';
+@import 'Table/TableInputCSV';
@import 'Tooltip/Tooltip';
@import 'Select/Select';
@import 'PanelOptionsGroup/PanelOptionsGroup';
diff --git a/packages/grafana-ui/src/utils/storybook/withFullSizeStory.tsx b/packages/grafana-ui/src/utils/storybook/withFullSizeStory.tsx
new file mode 100644
index 00000000000..c6efbee462f
--- /dev/null
+++ b/packages/grafana-ui/src/utils/storybook/withFullSizeStory.tsx
@@ -0,0 +1,23 @@
+import React from 'react';
+import { AutoSizer } from 'react-virtualized';
+
+export const withFullSizeStory = (component: React.ComponentType
, props: any) => (
+
+
+ {({ width, height }) => (
+ <>
+ {React.createElement(component, {
+ ...props,
+ width,
+ height,
+ })}
+ >
+ )}
+
+
+);