bolt.diy/app/stores/qrCodeStore.ts
KevIsDev 9039653ae0 feat: add Expo QR code generation and modal for mobile preview
Introduce Expo QR code functionality to allow users to preview their projects on mobile devices. Added a new QR code modal component, integrated it into the chat and preview components, and implemented Expo URL detection in the shell process. This enhances the mobile development workflow by providing a seamless way to test Expo projects directly on devices.

- Clean up and consolidate Preview icon buttons while removing redundant ones.
2025-04-17 13:03:41 +01:00

5 lines
143 B
TypeScript

import { atom } from 'nanostores';
export const qrCodeAtom = atom<string | null>(null);
export const expoUrlAtom = atom<string | null>(null);