18 lines
387 B
TypeScript
18 lines
387 B
TypeScript
import SnapshotEditor from './components/SnapshotEditor'
|
|
import type {IExtension} from '@theatre/studio'
|
|
import Toolbar from './components/Toolbar/Toolbar'
|
|
|
|
const r3fExtension: IExtension = {
|
|
id: '@theatre/plugin-r3f',
|
|
globalToolbar: {
|
|
component: Toolbar,
|
|
},
|
|
panes: [
|
|
{
|
|
class: 'snapshot',
|
|
component: SnapshotEditor,
|
|
},
|
|
],
|
|
}
|
|
|
|
export default r3fExtension
|