12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`Confirm renders 1`] = `
- <Fragment>
- <button
- onClick={[Function]}
- >
- Confirm?
- </button>
- <Modal
- animation={false}
- autoFocus={true}
- backdrop={true}
- bsClass="modal"
- dialogComponentClass={[Function]}
- enforceFocus={true}
- keyboard={true}
- manager={
- ModalManager {
- "add": [Function],
- "containers": Array [],
- "data": Array [],
- "handleContainerOverflow": true,
- "hideSiblingNodes": true,
- "isTopModal": [Function],
- "modals": Array [],
- "remove": [Function],
- }
- }
- onHide={[Function]}
- renderBackdrop={[Function]}
- restoreFocus={true}
- show={false}
- >
- <div
- className="modal-body"
- >
- <p>
- <strong>
- Are you sure?
- </strong>
- </p>
- </div>
- <div
- className="modal-footer"
- >
- <Button
- disabled={false}
- onClick={[Function]}
- style={
- Object {
- "marginRight": 10,
- }
- }
- >
- Cancel
- </Button>
- <Button
- autoFocus={true}
- data-test-id="confirm-modal"
- disabled={false}
- onClick={[Function]}
- priority="primary"
- >
- Confirm
- </Button>
- </div>
- </Modal>
- </Fragment>
- `;
|