patchkit-form-flag-msg

1.1.0 • Public • Published

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>

/patchkit-form-flag-msg/

    Package Sidebar

    Install

    npm i patchkit-form-flag-msg

    Weekly Downloads

    1

    Version

    1.1.0

    License

    GPL-3.0

    Last publish

    Collaborators

    • cel
    • pfraze