Skip to content

Commit effdad2

Browse files
committed
Fix import name in example (#171)
1 parent e049f20 commit effdad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ For instance, using [styled components](https://styled-components.com), we could
382382
center some text on top of our sketch like so:
383383

384384
```jsx
385-
import { ReactP5Wrapper, P5WrapperClassName } from "../src/index.tsx";
385+
import { ReactP5Wrapper, P5WrapperClassName } from "react-p5-wrapper";
386386
import styled, { createGlobalStyle } from "styled-components";
387387

388388
const GlobalWrapperStyles = createGlobalStyle`

0 commit comments

Comments
 (0)