react-resizable-panels/src/PanelResizeHandle.test.tsx Version: 10.1 kBTypeScriptView Raw 1 import { Root, createRoot } from "react-dom/client"; 2 import { act } from "react-dom/test-utils"; 3 import type { PanelResizeHandleProps } from "react-resizable-panels"; 4 import { Panel...
"use client"; import { Panel, PanelGroup, PanelResizeHandle } from "react-resizable-panels"; export function ClientComponent({ defaultLayout = [33, 67], }: { defaultLayout: number[] | undefined; }) { const onLayout = (sizes: number[]) => { document.cookie = `react-resizable-panels:...
react-resizable-panels/src/Panel.test.tsx Version: 26.4 kBTypeScriptView Raw 1 import { Root, createRoot } from "react-dom/client"; 2 import { act } from "react-dom/test-utils"; 3 import { ImperativePanelHandle, Panel, PanelGroup, PanelResizeHandle } from "."; ...
可调整大小的面板组/布局的React组件。 LayoutDrag and dropReactGesture - Touch README react-resizable-panels 可调整大小的面板组/布局的React组件。 查看网站 在CodeSandbox上尝试 R阅读文档 查看更改日志 支持的输入方法包括鼠标、触摸和键盘(通过窗口拆分器)。
Breadcrumbs react-resizable-panels / .proxyrc Latest commit Cannot retrieve latest commit at this time. HistoryHistory File metadata and controls Code Blame 8 lines (8 loc) · 106 Bytes Raw { "/demo": { "target": "http://localhost:8100/", "pathRewrite": { "^/demo": "" } } } ...
get("react-resizable-panels:layout"); let defaultLayout; if (layout) { defaultLayout = JSON.parse(layout.value); } return <ClientComponent defaultLayout={defaultLayout} />; } Client component "use client"; import { Panel, PanelGroup, PanelResizeHandle } from "react-resizable-panels"; export...
bvaughn/react-resizable-panels最新发布版本:2.0.16(2024-03-24 21:20:02)Improve resize for edge cases with collapsed panels; intermediate resize states should now fall back to the most recent valid layout rather than the initial layout (#311)...
墨菲安全对开源项目bvaughn/react-resizable-panels进行了软件成分分析,发现引入开源组件 215 个,相关许可证 9 类,其中存在漏洞的缺陷组件 0 个。 安全风险信息 目前暂未识别到安全风险,安全风险后续仍需持续关注。 许可证合规风险信息 项目中涉及到的许可证类型:9 种; ...
import{setNonce}from"react-resizable-panels";setNonce("your-nonce-value-here"); How can I disable global cursor styles? import{disableGlobalCursorStyles}from"react-resizable-panels";disableGlobalCursorStyles(); Releases100 2.1.7Latest Nov 17, 2024 ...
React components for resizable panel groups/layouts. Latest version: 0.0.39, last published: 2 years ago. Start using @superdesk/react-resizable-panels in your project by running `npm i @superdesk/react-resizable-panels`. There is 1 other project in the