mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-10-22 19:33:58 +00:00
Add a setting to resize table width (#21)
This commit is contained in:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user