MCPcopy
hub / github.com/reactjs/react-modal / registerButtonComponent

Function registerButtonComponent

specs/Modal.helpers.spec.js:210–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

208 }
209
210 const registerButtonComponent = () => {
211 if (window.customElements.get("button-web-component")) {
212 return;
213 }
214 window.customElements.define("button-web-component", ButtonWebComponent);
215 };
216
217 beforeEach(() => {
218 registerButtonComponent();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…