Skip to content

Commit a9afb38

Browse files
committed
Mark path as required.
1 parent 325fec9 commit a9afb38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const MyComponent = () => (
7777

7878
`<WebWorker>` takes the following properties:
7979

80-
- `path` {string} Public path to the Web Worker file (from the root of your domain)
80+
- `path` {string} (required) Public path to the Web Worker file (from the root of your domain)
8181
- `onMessage` {Function} Callback function invoked when a message is received, passing message data as argument
8282
- `onError` {Function} Callback function invoked when an error is received, passing error object as argument
8383

0 commit comments

Comments
 (0)