-
Notifications
You must be signed in to change notification settings - Fork 453
Expand file tree
/
Copy pathindex.ts
More file actions
28 lines (23 loc) · 903 Bytes
/
index.ts
File metadata and controls
28 lines (23 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import './polyfills';
import './types/appearance';
// Register React on the global shared modules registry.
// This enables @clerk/ui's shared variant to use the host app's React
// instead of bundling its own copy, reducing overall bundle size.
import '@clerk/ui/register';
import { setClerkJsLoadingErrorPackageName } from '@clerk/shared/loadClerkJsScript';
import { setErrorThrowerOptions } from './errors/errorThrower';
export * from './components';
export * from './contexts';
export * from './hooks';
export { getToken } from '@clerk/shared/getToken';
export type {
BrowserClerk,
BrowserClerkConstructor,
ClerkProp,
HeadlessBrowserClerk,
HeadlessBrowserClerkConstructor,
IsomorphicClerkOptions,
} from '@clerk/shared/types';
export type { ClerkProviderProps } from './types';
setErrorThrowerOptions({ packageName: PACKAGE_NAME });
setClerkJsLoadingErrorPackageName(PACKAGE_NAME);