import { create } from 'zustand';

interface PreviewToolbarState {
  deviceMode: 'desktop' | 'mobile';
  setDeviceMode: (mode: 'desktop' | 'mobile') => void;
}

export const usePreviewToolbarStore = create<PreviewToolbarState>((set) => ({
  deviceMode: 'desktop',
  setDeviceMode: (mode) => set({ deviceMode: mode }),
}));
