|
|
@@ -0,0 +1,74 @@
|
|
|
+// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
+
|
|
|
+exports[`Render should hide layout mode 1`] = `
|
|
|
+<div
|
|
|
+ className="page-action-bar"
|
|
|
+>
|
|
|
+ <div
|
|
|
+ className="gf-form gf-form--grow"
|
|
|
+ >
|
|
|
+ <label
|
|
|
+ className="gf-form--has-input-icon"
|
|
|
+ >
|
|
|
+ <input
|
|
|
+ className="gf-form-input width-20"
|
|
|
+ onChange={[Function]}
|
|
|
+ placeholder="Filter by name or type"
|
|
|
+ type="text"
|
|
|
+ value=""
|
|
|
+ />
|
|
|
+ <i
|
|
|
+ className="gf-form-input-icon fa fa-search"
|
|
|
+ />
|
|
|
+ </label>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ className="page-action-bar__spacer"
|
|
|
+ />
|
|
|
+ <a
|
|
|
+ className="btn btn-success"
|
|
|
+ href="some/url"
|
|
|
+ target="_blank"
|
|
|
+ >
|
|
|
+ test
|
|
|
+ </a>
|
|
|
+</div>
|
|
|
+`;
|
|
|
+
|
|
|
+exports[`Render should render component 1`] = `
|
|
|
+<div
|
|
|
+ className="page-action-bar"
|
|
|
+>
|
|
|
+ <div
|
|
|
+ className="gf-form gf-form--grow"
|
|
|
+ >
|
|
|
+ <label
|
|
|
+ className="gf-form--has-input-icon"
|
|
|
+ >
|
|
|
+ <input
|
|
|
+ className="gf-form-input width-20"
|
|
|
+ onChange={[Function]}
|
|
|
+ placeholder="Filter by name or type"
|
|
|
+ type="text"
|
|
|
+ value=""
|
|
|
+ />
|
|
|
+ <i
|
|
|
+ className="gf-form-input-icon fa fa-search"
|
|
|
+ />
|
|
|
+ </label>
|
|
|
+ <LayoutSelector
|
|
|
+ onLayoutModeChanged={[Function]}
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ className="page-action-bar__spacer"
|
|
|
+ />
|
|
|
+ <a
|
|
|
+ className="btn btn-success"
|
|
|
+ href="some/url"
|
|
|
+ target="_blank"
|
|
|
+ >
|
|
|
+ test
|
|
|
+ </a>
|
|
|
+</div>
|
|
|
+`;
|