mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-20 16:01:18 +02:00
Comment
This commit is contained in:
@@ -80,6 +80,7 @@ export interface DropdownRef {
|
|||||||
|
|
||||||
// Every dropdown gets a unique ID and we use this global atom to ensure
|
// Every dropdown gets a unique ID and we use this global atom to ensure
|
||||||
// only one dropdown can be open at a time.
|
// only one dropdown can be open at a time.
|
||||||
|
// TODO: Also make ContextMenu use this
|
||||||
const openAtom = atom<string | null>(null);
|
const openAtom = atom<string | null>(null);
|
||||||
|
|
||||||
export const Dropdown = forwardRef<DropdownRef, DropdownProps>(function Dropdown(
|
export const Dropdown = forwardRef<DropdownRef, DropdownProps>(function Dropdown(
|
||||||
|
|||||||
Reference in New Issue
Block a user