theatre/packages/plugin-r3f/src/index.tsx

13 lines
546 B
TypeScript
Raw Normal View History

import setupPlugin from './setupPlugin'
2021-06-18 13:05:06 +02:00
export {default as EditorHelper} from './components/EditorHelper'
export type {EditorHelperProps} from './components/EditorHelper'
export {default as editable} from './components/editable'
export type {EditableState, BindFunction} from './store'
export {default as Wrapper} from './Wrapper'
export {default as useRefreshSnapshot} from './components/useRefreshSnapshot'
export {default as RefreshSnapshot} from './components/RefreshSnapshot'
2021-06-18 13:05:06 +02:00
if (process.env.NODE_ENV === 'development') {
setupPlugin()
2021-06-18 13:05:06 +02:00
}