
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
drag-division
Advanced tools
分割拖拽组件,可上下方向分割拖拽,左右方向分割拖拽,可十字交叉垂直与水平方向双向拖拽 注意:容器层本身继承父节点的宽高,父节点或者容器层本身的宽高不能变化,否则会影响拖拽效果布局
npm i drag-division
import { DragDivision } from "drag-division";
function App() {
return (
<DragDivision
topNode={<div className="topDiv">123</div>}
bottomNode={<div className="bottomDiv">456</div>}
topMinHeight={"20%"}
bottomMinHeight={"30%"}
topHeight="30%"
// divisionDirection="horizontal"
// leftNode={<div className="topDiv">123</div>}
// rightNode={<div className="bottomDiv">456</div>}
// leftWidth="30%"
// leftMinWidth={"20%"}
// rightMinWidth={"30%"}
/>
);
}
MIT License (c) 刘善保
FAQs
This project was perfect scroll container components
The npm package drag-division receives a total of 3 weekly downloads. As such, drag-division popularity was classified as not popular.
We found that drag-division demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.