diff --git a/src/components/Settings/Selection/context.ts b/src/components/Settings/Selection/context.ts index 4d91eac..6a14402 100644 --- a/src/components/Settings/Selection/context.ts +++ b/src/components/Settings/Selection/context.ts @@ -28,6 +28,6 @@ export function useSettingsSelectionProviderValue( export const SettingsSelectionContextProvider = context.Provider; -export function useSettingsSelectionContext() { +export function useSettingsSelectionContext(): ContextValue { return React.useContext(context); } diff --git a/src/components/Settings/Selection/index.ts b/src/components/Settings/Selection/index.ts index 58ab7be..dcf1cbf 100644 --- a/src/components/Settings/Selection/index.ts +++ b/src/components/Settings/Selection/index.ts @@ -1,2 +1,2 @@ -export * from './context'; +export {useSettingsSelectionContext} from './context'; export * from './types'; diff --git a/src/components/Settings/index.ts b/src/components/Settings/index.ts index 90e2697..273ee5b 100644 --- a/src/components/Settings/index.ts +++ b/src/components/Settings/index.ts @@ -1 +1,2 @@ +export * from './Selection'; export * from './Settings';