We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8dc63c commit 662f784Copy full SHA for 662f784
2 files changed
README.md
@@ -109,9 +109,12 @@ useControl(name: string, {
109
110
// Controls component
111
<Controls
112
- title="Custom title"
+ title="react-three-gui"
113
collapsed={true}
114
defaultClosedGroups={['Other', 'Stuff']}
115
+ width={300} // default 300
116
+ anchor={'top_left' | 'bottom_left' | 'top_right' | 'bottom_right'} // see ControlsAnchor enum
117
+ style={{ ... }} // pass any kind of styles here. Supports @react-spring/web styles.
118
/>
119
```
120
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-three-gui",
3
- "version": "0.3.0",
+ "version": "0.3.1",
4
"main": "dist/index.js",
5
"module": "dist/react-three-gui.esm.js",
6
"typings": "dist/index.d.ts",
0 commit comments