Renamed @theatre/plugin-r3f to @theatre/r3f

This commit is contained in:
Aria Minaei 2021-09-06 10:19:10 +02:00
parent 03a2f26686
commit 4f66d57cf8
42 changed files with 19 additions and 19 deletions

View file

@ -12,7 +12,7 @@
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@theatre/core": "workspace:*",
"@theatre/plugin-r3f": "workspace:*",
"@theatre/r3f": "workspace:*",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",

View file

@ -4,7 +4,7 @@ import {useState, useEffect, useRef} from 'react'
import {useFrame, Canvas} from '@react-three/fiber'
import {Shadow, softShadows} from '@react-three/drei'
import React from 'react'
import {editable as e, Wrapper} from '@theatre/plugin-r3f'
import {editable as e, Wrapper} from '@theatre/r3f'
// Soft shadows are expensive, comment and refresh when it's too slow
softShadows()