RootStore.ts 292 B

1234567891011
  1. import { types } from "mobx-state-tree";
  2. import { SearchStore } from "./SearchStore";
  3. export const RootStore = types.model({
  4. search: types.optional(SearchStore, {
  5. sections: []
  6. })
  7. });
  8. type IRootStoreType = typeof RootStore.Type;
  9. export interface IRootStore extends IRootStoreType {}