Files
twenty_crm/front/src/modules/ui/hooks/RecoilScopeContext.ts
Lucas Bordeau e679f45615 Feat/single entity select relation picker (#345)
* - Implemented recoil scoped state
- Implemented SingleEntitySelect
- Implemented keyboard shortcut up/down select

* Added useRecoilScopedValue

* Fix storybook

* Fix storybook

* Fix storybook

* Fix storybook

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-06-21 13:29:07 -07:00

4 lines
110 B
TypeScript

import { createContext } from 'react';
export const RecoilScopeContext = createContext<string | null>(null);