Skip to content

patchkit/patchkit-form-flag-msg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Form: Flag Msg

Flag messages (modal form).

screenshot.png

import ModalBtn from 'patchkit-modal/btn'
import FormFlagMsg from 'patchkit-form-flag-msg'

const onSubmit = (reason, cb) => { console.log('submit', reason); cb() }
<ModalBtn className="center-block" Form={FormFlagMsg} formProps={{onSubmit: onSubmit}}>
  <a className="btn highlighted">Click to open</a>
</ModalBtn>

About

Flag messages (modal form)

Resources

Stars

Watchers

Forks

Packages

No packages published