()
| 83 | // bind the modal provider before calling |
| 84 | this.showModal(title, (closeModal) => { |
| 85 | const onOkClickClose = () => { |
| 86 | onOkClick?.(); |
| 87 | closeModal(); |
| 88 | }; |
| 89 | return ( |
| 90 | <AlertContent text={text} onOkClick={onOkClickClose} okLabel={okLabel} plainText={plainText} /> |
| 91 | ); |
nothing calls this directly
no test coverage detected