import React, { useState } from "react" import { Outlet } from "react-router-dom" import { ResizableBox as ResizableBoxRaw } from 'react-resizable'; import 'react-resizable/css/styles.css'; const ResizableBox = ResizableBoxRaw as unknown as React.FC; interface Props { } const DBController: React.FC = ({ }) => { const [width, setWidth] = useState(512); const onResize = (event: any, params: any) => { setWidth(params.size.width); } return ( } >
) } export default React.memo(DBController)