Skip to content

Commit

Permalink
refactor(interface): reexport createErrorHandler from interface
Browse files Browse the repository at this point in the history
  • Loading branch information
matej21 committed Feb 27, 2024
1 parent 7f8ab93 commit 0e23dbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/api/interface.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```ts

import { ContemberClientProps } from '@contember/react-client';
import { createErrorHandler } from '@contember/react-devbar';
import { EntityAccessor } from '@contember/react-binding';
import { Environment } from '@contember/react-binding';
import { ErrorPersistResult } from '@contember/react-binding';
Expand Down Expand Up @@ -45,6 +46,8 @@ export interface ClearFieldTriggerProps {
field: SugaredRelativeSingleField['field'];
}

export { createErrorHandler }

// @public (undocumented)
export const DeleteEntityTrigger: ({ immediatePersist, onPersistError, onPersistSuccess, ...props }: DeleteEntityTriggerProps) => JSX_2.Element;

Expand Down
3 changes: 3 additions & 0 deletions packages/interface/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ export * from './components'
export * from '@contember/react-routing'
export * from '@contember/react-binding'
export * from '@contember/react-identity'
export {
createErrorHandler,
} from '@contember/react-devbar'

0 comments on commit 0e23dbc

Please sign in to comment.