Skip to content

Commit

Permalink
refactor: limited what types are exposed by default to make it easier…
Browse files Browse the repository at this point in the history
… to deprecate internal types in future releases and to know when there is a breaking type API change.
  • Loading branch information
pepijnverburg committed May 12, 2023
1 parent 04bb01f commit 6cc9557
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion packages/libraries/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,21 @@ export { ClippetProvider } from './context/ClippetProvider';
/**
* Published types
*/
export * from './types';
export {

// `useClippet` hook
UseClippet,
ClippetOptions,
Clippet,

// `useClippetObserver` hook
ClippetObserverOptions,

// provider
ClippetProviderOptions,
ClippetContextOptions,

// window events
ClippetWindowEventsOptions,
ClippetWindowEventType,
} from './types';

0 comments on commit 6cc9557

Please sign in to comment.