Add a setting to resize table width (#21)

This commit is contained in:
1ilit
2024-04-10 06:47:06 +03:00
parent 6ab13a70d2
commit 895c1da2b0
9 changed files with 65 additions and 38 deletions

View File

@@ -1,4 +1,5 @@
import { createContext, useState } from "react";
import { tableWidth } from "../data/constants";
export const SettingsContext = createContext(null);
@@ -11,6 +12,7 @@ export default function SettingsContextProvider({ children }) {
autosave: true,
panning: true,
showCardinality: true,
tableWidth: tableWidth,
});
return (