Skip to content

Commit 662f784

Browse files
committed
feat: prepare release
1 parent b8dc63c commit 662f784

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,12 @@ useControl(name: string, {
109109

110110
// Controls component
111111
<Controls
112-
title="Custom title"
112+
title="react-three-gui"
113113
collapsed={true}
114114
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.
115118
/>
116119
```
117120

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-three-gui",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"main": "dist/index.js",
55
"module": "dist/react-three-gui.esm.js",
66
"typings": "dist/index.d.ts",

0 commit comments

Comments
 (0)