import { defineStore } from 'pinia';

export const useSearchToggleStore = defineStore('toggle', {
  state: () => ({
    showSearch: false,
  }),
  actions: {
    toggleSearch() {
      this.showSearch = !this.showSearch;
    },
  },
});