theatre/packages/r3f/src/extension.ts
2021-09-06 10:19:10 +02:00

18 lines
380 B
TypeScript

import SnapshotEditor from './components/SnapshotEditor'
import type {IExtension} from '@theatre/studio'
import Toolbar from './components/Toolbar/Toolbar'
const r3fExtension: IExtension = {
id: '@theatre/r3f',
globalToolbar: {
component: Toolbar,
},
panes: [
{
class: 'snapshot',
component: SnapshotEditor,
},
],
}
export default r3fExtension