1.0.0 • Published 6 years ago
rc-dialog-drag v1.0.0
rc-dialog
react dialog component
Screenshot
Install
Usage
var Dialog = require('rc-dialog');
ReactDOM.render(
<Dialog title={title} onClose={callback1} visible>
<p>first dialog</p>
</Dialog>
), document.getElementById('t1'));
// use dialog
API
rc-dialog
Development
npm install
npm start
Example
http://localhost:8007/examples/
online example: http://react-component.github.io/dialog/
Test Case
npm test
npm run chrome-test
Coverage
npm run coverage
open coverage/ dir
License
rc-dialog is released under the MIT license.
本项目从 https://github.com/react-component/dialog fork,修改了部分代码,使弹层实现了拖拽功能。
1.0.0
6 years ago