Skip to content

Commit

Permalink
docs: fix latest and version docs react import (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: geonwoo-mun <[email protected]>
  • Loading branch information
geonwoomun and geonwoo-mun authored Mar 24, 2023
1 parent 85c6c30 commit 90a8451
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/docs/docs/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const ig = new Conveyer(".items");
You can import & use Conveyer as a React Component.

```jsx title="SomeComponent.jsx"
import * as React from "@egjs/react";
import { useConveyer } from "@egjs/@egjs/react-conveyer";
import * as React from "react";
import { useConveyer } from "@egjs/react-conveyer";

export default () => {
const ref = useRef();
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/versioned_docs/version-1.0.2/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const ig = new Conveyer(".items");
You can import & use Conveyer as a React Component.

```jsx title="SomeComponent.jsx"
import * as React from "@egjs/react";
import { useConveyer } from "@egjs/@egjs/react-conveyer";
import * as React from "react";
import { useConveyer } from "@egjs/react-conveyer";

export default () => {
const ref = useRef();
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/versioned_docs/version-1.1.0/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const ig = new Conveyer(".items");
You can import & use Conveyer as a React Component.

```jsx title="SomeComponent.jsx"
import * as React from "@egjs/react";
import { useConveyer } from "@egjs/@egjs/react-conveyer";
import * as React from "react";
import { useConveyer } from "@egjs/react-conveyer";

export default () => {
const ref = useRef();
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/versioned_docs/version-1.2.0/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const ig = new Conveyer(".items");
You can import & use Conveyer as a React Component.

```jsx title="SomeComponent.jsx"
import * as React from "@egjs/react";
import { useConveyer } from "@egjs/@egjs/react-conveyer";
import * as React from "react";
import { useConveyer } from "@egjs/react-conveyer";

export default () => {
const ref = useRef();
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/versioned_docs/version-1.3.1/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const ig = new Conveyer(".items");
You can import & use Conveyer as a React Component.

```jsx title="SomeComponent.jsx"
import * as React from "@egjs/react";
import { useConveyer } from "@egjs/@egjs/react-conveyer";
import * as React from "react";
import { useConveyer } from "@egjs/react-conveyer";

export default () => {
const ref = useRef();
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/versioned_docs/version-1.4.7/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const ig = new Conveyer(".items");
You can import & use Conveyer as a React Component.

```jsx title="SomeComponent.jsx"
import * as React from "@egjs/react";
import { useConveyer } from "@egjs/@egjs/react-conveyer";
import * as React from "react";
import { useConveyer } from "@egjs/react-conveyer";

export default () => {
const ref = useRef();
Expand Down

0 comments on commit 90a8451

Please sign in to comment.