MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / createWidget

Function createWidget

packages/feedback/src/core/integration.ts:366–370  ·  view source on GitHub ↗

* Creates a new widget which is composed of a Button which triggers a Dialog. * Accepts partial options to override any options passed to constructor.

(optionOverrides: OverrideFeedbackConfiguration = {})

Source from the content-addressed store, hash-verified

364 * Accepts partial options to override any options passed to constructor.
365 */
366 createWidget(optionOverrides: OverrideFeedbackConfiguration = {}): ActorComponent {
367 const actor = _createActor(mergeOptions(_options, optionOverrides));
368 actor.appendToDom();
369 return actor;
370 },
371
372 /**
373 * Creates a new Form which you can

Callers

nothing calls this directly

Calls 2

mergeOptionsFunction · 0.90
_createActorFunction · 0.85

Tested by

no test coverage detected