Skip to content

akai-cn/react-func-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-func-modal

NPM version NPM downloads

Install

$ yarn add react-func-modal

Example

import Modal from 'react-func-modal';
import YourWidget from 'your-component-path';

Modal.show({
   name: 'allotment',    // plan A need register
   component: YourWidget // plan B
   onOk: () => {},
   params: {
   }
})

LICENSE

MIT

About

a functional modal based on React

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors