UNPKG

@wfp/ui

Version:
17 lines (14 loc) 280 B
ModalWrapper combines a `Button` with a `Modal`. See `Modal` component for all `props`. ```js import { ModalWrapper } from '@wfp/ui'; ``` ```html <ModalWrapper buttonTriggerText="Open Modal" handleSubmit={() => { return true; }} > Modal Content </ModalWrapper> ```