mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
29 lines
507 B
TypeScript
29 lines
507 B
TypeScript
import { atom } from 'recoil';
|
|
|
|
export const contactsState = {
|
|
contacts: atom({
|
|
key: 'contactsList',
|
|
default: [],
|
|
}),
|
|
showModal: atom({
|
|
key: 'showModal',
|
|
default: false,
|
|
}),
|
|
filterContacts: atom({
|
|
key: 'filterContacts',
|
|
default: '',
|
|
}),
|
|
showContactsModal: atom({
|
|
key: 'showContactModal',
|
|
default: false,
|
|
}),
|
|
contactDetail: atom({
|
|
key: 'contactDetail',
|
|
default: null,
|
|
}),
|
|
contactAlert: atom({
|
|
key: 'contactAlert',
|
|
default: null,
|
|
}),
|
|
};
|