TypeScript React Grid Layout Resize Drag Demo 默认情况下,react-grid-layout支持resize和drag,并且可以通过onLayoutChange获取变化之后的layout npm install npm run demo It will open page on browser automatically.