aa612b5fc9
* wip * wip * - Added scopes on useHotkeys - Use new EditableCellV2 - Implemented Recoil Scoped State with specific context - Implemented soft focus position - Factorized open/close editable cell - Removed editable relation old components - Broke down entity table into multiple components - Added Recoil Scope by CellContext - Added Recoil Scope by RowContext * First working version * Use a new EditableCellSoftFocusMode * Fixed initialize soft focus * Fixed enter mode * Added TODO * Fix * Fixes * Fix tests * Fix lint * Fixes --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
20 lines
433 B
TypeScript
20 lines
433 B
TypeScript
import { useInitializeEntityTable } from '@/ui/tables/hooks/useInitializeEntityTable';
|
|
import { useMapKeyboardToSoftFocus } from '@/ui/tables/hooks/useMapKeyboardToSoftFocus';
|
|
|
|
export function HooksEntityTable({
|
|
numberOfColumns,
|
|
numberOfRows,
|
|
}: {
|
|
numberOfColumns: number;
|
|
numberOfRows: number;
|
|
}) {
|
|
useMapKeyboardToSoftFocus();
|
|
|
|
useInitializeEntityTable({
|
|
numberOfColumns,
|
|
numberOfRows,
|
|
});
|
|
|
|
return <></>;
|
|
}
|