import { useLocalStore } from 'mobx-react-lite';
export default function useStore() {
  return useLocalStore(function () {
    return {
      selectedRecords: [],

      get getSelectedRecords() {
        return this.selectedRecords;
      },

      setSelectedRecords: function setSelectedRecords(data) {
        this.selectedRecords = data;
      }
    };
  });
}