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

Commit 4169bba

Browse files
committed
Added JSX code highlight in Usage section
1 parent b379dc7 commit 4169bba

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
@@ -53,7 +53,7 @@ npm install react-dat-gui --save
5353

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

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

0 commit comments

Comments
 (0)