- moved states
This commit is contained in:
@ -2,9 +2,10 @@ import React, { useRef } from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
|
||||
import { actionBarEntriesState } from '@/ui/table/states/ActionBarEntriesState';
|
||||
import { actionBarOpenState } from '@/ui/table/states/ActionBarIsOpenState';
|
||||
import { contextMenuOpenState } from '@/ui/table/states/ContextMenuIsOpenState';
|
||||
import { actionBarEntriesState } from '@/ui/action-bar/states/ActionBarEntriesState';
|
||||
import { contextMenuOpenState } from '@/ui/context-menu/states/ContextMenuIsOpenState';
|
||||
|
||||
import { actionBarOpenState } from '../states/ActionBarIsOpenState';
|
||||
|
||||
type OwnProps = {
|
||||
selectedIds: string[];
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
import { ReactElement } from 'react';
|
||||
import { atom } from 'recoil';
|
||||
|
||||
export const actionBarEntriesState = atom<ReactElement[]>({
|
||||
key: 'actionBarEntriesState',
|
||||
default: [],
|
||||
});
|
||||
@ -0,0 +1,6 @@
|
||||
import { atom } from 'recoil';
|
||||
|
||||
export const actionBarOpenState = atom<boolean>({
|
||||
key: 'actionBarOpenState',
|
||||
default: false,
|
||||
});
|
||||
Reference in New Issue
Block a user