15 lines
374 B
TypeScript
15 lines
374 B
TypeScript
import { defineStore } from 'pinia'
|
|
|
|
const useShowComponentSelectionStore = defineStore('showComponentSelection', {
|
|
state: () => ({
|
|
showComponentSelection: false as boolean,
|
|
}),
|
|
actions: {
|
|
setShowComponentSelection(show: boolean) {
|
|
this.showComponentSelection = show;
|
|
},
|
|
},
|
|
});
|
|
|
|
export { useShowComponentSelectionStore };
|