mirror of
https://github.com/outline/outline.git
synced 2026-06-26 17:54:24 +03:00
9 lines
230 B
JavaScript
9 lines
230 B
JavaScript
// @flow
|
|
import { MobXProviderContext } from "mobx-react";
|
|
import * as React from "react";
|
|
import RootStore from "stores";
|
|
|
|
export default function useStores(): typeof RootStore {
|
|
return React.useContext(MobXProviderContext);
|
|
}
|