theatre/packages/r3f/src/index.ts
Andrew Prifer 6497bf2097
Add instant editable cameras to the r3f extension (#315)
Add spruced up editable orthographic/perspective camera
2022-10-13 18:14:53 +00:00

26 lines
991 B
TypeScript

export {default as editable} from './main/editable'
export type {EditableState, BindFunction} from './main/store'
/**
* This is a private API that's exported so that `@theatre/r3f/dist/extension`
* and `@theatre/r3f` can talk to one another. This API _could_ change
* between patch releases, so please don't build on it :)
*
* @internal
*/
export {
editorStore as ____private_editorStore,
allRegisteredObjects as __private_allRegisteredObjects,
} from './main/store'
/**
* This is a private API that's exported so that `@theatre/r3f/dist/extension`
* and `@theatre/r3f` can talk to one another. This API _could_ change
* between patch releases, so please don't build on it :)
*
* @internal
*/
export {makeStoreKey as __private_makeStoreKey} from './main/utils'
export {default as SheetProvider, useCurrentSheet} from './main/SheetProvider'
export {refreshSnapshot} from './main/utils'
export {default as RefreshSnapshot} from './main/RefreshSnapshot'
export * from './drei'