mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
25 lines
410 B
TypeScript
25 lines
410 B
TypeScript
import { atom } from 'recoil';
|
|
|
|
export const photoState = {
|
|
photos: atom({
|
|
key: 'galleryPhotos',
|
|
default: null,
|
|
}),
|
|
modal: atom({
|
|
key: 'photoModal',
|
|
default: false,
|
|
}),
|
|
photoMeta: atom({
|
|
key: 'photoMeta',
|
|
default: null,
|
|
}),
|
|
shareModal: atom({
|
|
key: 'phoneShareModal',
|
|
default: false,
|
|
}),
|
|
shareLink: atom({
|
|
key: 'photoShareLink',
|
|
default: null,
|
|
}),
|
|
};
|