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

Commit 27f68ac

Browse files
Reverted App.js to importing from the node module
1 parent e742d93 commit 27f68ac

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

example/src/App.js

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
// Uncomment out the imports below (and comment out the node modules imports) to use this example to develop changes/additions to react-dat-gui.
22
// You will need to run `npm run example:seed` to get the latest code into the example/src/dev module directory
33

4-
import './dev/style/dat.css';
4+
// import './dev/style/dat.css';
5+
//
6+
// import Dat, {
7+
// DatBoolean,
8+
// DatButton,
9+
// DatColor,
10+
// DatFolder,
11+
// DatNumber,
12+
// DatPresets,
13+
// DatSelect,
14+
// DatString,
15+
// } from './dev';
16+
17+
import '../node_modules/react-dat-gui/dist/react-dat-gui.css';
518

619
import Dat, {
720
DatBoolean,
@@ -12,14 +25,9 @@ import Dat, {
1225
DatPresets,
1326
DatSelect,
1427
DatString,
15-
} from './dev';
28+
} from 'react-dat-gui';
1629
import React, { Component } from 'react';
1730

18-
// import '../node_modules/react-dat-gui/dist/react-dat-gui.css';
19-
//
20-
// import Dat, { DatBoolean, DatButton, DatColor, DatFolder, DatNumber, DatSelect, DatString } from 'react-dat-gui';
21-
22-
2331
class App extends Component {
2432
state = {
2533
data: {

0 commit comments

Comments
 (0)