diff --git a/src/index.ts b/src/index.ts index be1d173..b3644d2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,9 +1,4 @@ -/** - * This is the doc comment. - * Specify this is a module comm . - * @module gurx - */ export * from './realm' export * from './hooks' export * from './operators' -export { RealmProvider } from './react' +export { RealmProvider, RealmContext } from './react' diff --git a/src/react.tsx b/src/react.tsx index b1336b8..6c84849 100644 --- a/src/react.tsx +++ b/src/react.tsx @@ -1,6 +1,10 @@ import React from 'react' import { Realm } from './realm' +/** + * @category React Components + * The context that provides the realm to the built-in hooks. + */ export const RealmContext = React.createContext(null) /**