FIX[WebApp]: Rename navigation => SheetTabBar

Also rename all widgets in that folder to more standard names
This commit is contained in:
Nicolás Hatcher
2024-12-14 22:26:15 +01:00
committed by Nicolás Hatcher Andrés
parent fb764fed1c
commit 98dc1f3b06
8 changed files with 18 additions and 19 deletions

View File

@@ -6,6 +6,7 @@ import type {
} from "@ironcalc/wasm";
import { styled } from "@mui/material/styles";
import { useCallback, useEffect, useRef, useState } from "react";
import SheetTabBar from "./SheetTabBar/SheetTabBar";
import {
COLUMN_WIDTH_SCALE,
LAST_COLUMN,
@@ -16,7 +17,6 @@ import {
getNewClipboardId,
} from "./clipboard";
import FormulaBar from "./formulabar";
import Navigation from "./navigation/navigation";
import Toolbar from "./toolbar";
import useKeyboardNavigation from "./useKeyboardNavigation";
import { type NavigationKey, getCellAddress } from "./util";
@@ -572,7 +572,7 @@ const Workbook = (props: { model: Model; workbookState: WorkbookState }) => {
}}
/>
<Navigation
<SheetTabBar
sheets={info}
selectedIndex={model.getSelectedSheet()}
workbookState={workbookState}