theatre/packages/plugin-r3f/src/extension.ts
2021-09-05 23:24:53 +02:00

18 lines
393 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: 'snapshotEditor',
component: SnapshotEditor,
},
],
}
export default r3fExtension