Skip to content
This repository was archived by the owner on May 15, 2022. It is now read-only.

Commit ff8ee74

Browse files
committed
Fixed import in Usage example
1 parent 4169bba commit ff8ee74

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
@@ -54,7 +54,7 @@ npm install react-dat-gui --save
5454
First you'll need a wrapper component which will handle the updates from your dat.GUI, this component should pass the data for the GUI to control as well as an `onUpdate` function to the `DatGui` container component as props. Here's how you might do that:
5555

5656
```jsx
57-
import '../node_modules/react-dat-gui/build/react-dat-gui.css';
57+
import 'react-dat-gui/build/react-dat-gui.css';
5858
import React, { Component } from 'react';
5959

6060
import DatGui, { DatBoolean, DatButton, DatNumber, DatString } from 'react-dat-gui';

0 commit comments

Comments
 (0)