const ScreenerPage: NextPage = () => { const {diaryToken} = useAuthContext(); const…
- User
const ScreenerPage: NextPage = () => { const {diaryToken} = useAuthContext(); const {selectedSingleApiKey} = useApiKeyProvider(); const [pages, setPages] = useState<"positions" | "orders" | "history">("orders"); const [accountInfo, setAccountInfo] = useState<Account | undefined>(undefined);
return <> Скринер
<CabinetAlgoTradingHead /><Grid sx={{backgroundColor: "#ECECEC"}} container spacing={1} height={999} p={1}> <Box sx={{width: "100%", height: "100%"}}> <Box className="scroll-block" sx={{overflowY: "scroll", overflowX: "hidden", height: "100%", width: "100%", bgcolor: "#fff", borderRadius: "8px"}}> <Grid container sx={{width: "100%", height: 256, mt: "4px", bgcolor: "#fff", borderRadius: "8px", display: "flex", alignContent: "flex-start"}}> </>; };
-
- нужно обернуть в import RGL, {WidthProvider, Layout} from "react-grid-layout"; import "react-grid-layout/css/styles.css"; import "react-resizable/css/styles.css";
<ReactGridLayout cols={30} layout={layout} onDragStop={} onResizeStop={} isDraggable={draggable} rowHeight={40} width={1200}
-
- 5 блоков нужно, чтобы было, которым можно изменять размер и перетаскивать первый блок - второй блок - третий блок - <Box className="scroll-block" sx={{overflowY: "scroll", overflowX: "hidden", height: "100%", width: "100%", bgcolor: "#fff", borderRadius: "8px"}}> четвертый блок - пятый блок - <Grid container sx={{width: "100%", height: 256, mt: "4px", bgcolor: "#fff", borderRadius: "8px", display: "flex", alignContent: "flex-start"}}>
react typescript
-
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.