* refactor: rename ui/table to ui/data-table * feat: add Table and TableSection components Closes #1806
12 lines
400 B
TypeScript
12 lines
400 B
TypeScript
import React from 'react';
|
|
import { useRecoilValue } from 'recoil';
|
|
|
|
import { ContextMenu } from '@/ui/context-menu/components/ContextMenu';
|
|
|
|
import { selectedRowIdsSelector } from '../../states/selectors/selectedRowIdsSelector';
|
|
|
|
export const EntityTableContextMenu = () => {
|
|
const selectedRowIds = useRecoilValue(selectedRowIdsSelector);
|
|
return <ContextMenu selectedIds={selectedRowIds} />;
|
|
};
|