patchkit-form-flag-msg
1.1.0 • Public • Published Form: Flag Msg
Flag messages (modal form).
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>
/patchkit-form-flag-msg/
//
Package Sidebar
Install
npm i patchkit-form-flag-msg
Weekly Downloads