Skip to content

Commit

Permalink
docs(): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kud committed Jan 12, 2018
1 parent 730da89 commit c43ee6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/searchkit-docs/docs/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ To use searchkit, we need to instantiate a `SearchkitManager` with a elastic lik
We then wrap a searchkit app and render to the page.

```js
import * as React from "react";
import * as ReactDOM from "react-dom";
import React from "react";
import ReactDOM from "react-dom";

import {
SearchkitManager, SearchkitProvider
Expand Down
12 changes: 6 additions & 6 deletions packages/searchkit-docs/docs/setup/using-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ To use searchkit, we need to instantiate a `SearchkitManager` with a elastic lik
We then add Searchbox and hits components to the page. This should render the standard searchbox and hits to the page.

```jsx
import * as React from "react";
import * as ReactDOM from "react-dom";
import React from "react";
import ReactDOM from "react-dom";

import {
SearchkitManager, SearchkitProvider, SearchBox, Hits
Expand All @@ -30,8 +30,8 @@ ReactDOM.render((
Each filter will require a unique id. This is used for url serialisation.

```jsx
import * as React from "react";
import * as ReactDOM from "react-dom";
import React from "react";
import ReactDOM from "react-dom";

import {
SearchkitManager, SearchkitProvider, SearchBox, Hits, RefinementListFilter
Expand All @@ -54,8 +54,8 @@ ReactDOM.render((
You may want to incapsulate the searchApp within a React component. You can be using the SearchkitComponent class.

```jsx
import * as React from "react";
import * as ReactDOM from "react-dom";
import React from "react";
import ReactDOM from "react-dom";

import {
SearchkitManager, SearchkitProvider, SearchkitComponent
Expand Down

0 comments on commit c43ee6e

Please sign in to comment.