File size: 2,859 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Next app recipes App renders without crashing 1`] = `
<div>
  <header>
    <h1>
      React InstantSearch + Next.Js
    </h1>
    <div
      className="ais-SearchBox"
    >
      <form
        action=""
        className="ais-SearchBox-form"
        noValidate={true}
        onReset={[Function]}
        onSubmit={[Function]}
        role="search"
      >
        <input
          autoCapitalize="off"
          autoComplete="off"
          autoCorrect="off"
          autoFocus={false}
          className="ais-SearchBox-input"
          maxLength="512"
          onChange={[Function]}
          placeholder="Search here…"
          required={true}
          spellCheck="false"
          type="search"
          value=""
        />
        <button
          className="ais-SearchBox-submit"
          title="Submit your search query."
          type="submit"
        >
          <svg
            className="ais-SearchBox-submitIcon"
            height="10"
            viewBox="0 0 40 40"
            width="10"
            xmlns="http://www.w3.org/2000/svg"
          >
            <path
              d="M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"
            />
          </svg>
        </button>
        <button
          className="ais-SearchBox-reset"
          hidden={true}
          title="Clear the search query."
          type="reset"
        >
          <svg
            className="ais-SearchBox-resetIcon"
            height="10"
            viewBox="0 0 20 20"
            width="10"
            xmlns="http://www.w3.org/2000/svg"
          >
            <path
              d="M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"
            />
          </svg>
        </button>
      </form>
    </div>
  </header>
  <main>
    <div
      className="menu"
    >
      <div
        className="ais-RefinementList ais-RefinementList--noRefinement"
      />
    </div>
    <div
      className="results"
    >
      <div
        className="ais-Hits"
      >
        <ul
          className="ais-Hits-list"
        />
      </div>
    </div>
  </main>
  <footer>
    <div>
      See
       
      <a
        href="https://github.com/algolia/react-instantsearch/tree/master/examples/next"
      >
        source code
      </a>
       
      on github
    </div>
  </footer>
</div>
`;