MCPcopy Create free account
hub / github.com/TanStack/devtools / convertTrigger

Function convertTrigger

packages/solid-devtools/src/core.tsx:140–148  ·  view source on GitHub ↗
(el: HTMLElement, props: TriggerProps)

Source from the content-addressed store, hash-verified

138 /**
139 * Configuration for the devtools shell. These configuration options are used to set the
140 * initial state of the devtools when it is started for the first time. Afterwards,
141 * the settings are persisted in local storage and changed through the settings panel.
142 */
143 config?: Omit<Partial<TanStackDevtoolsConfig>, 'customTrigger'> & {
144 /**
145 * An optional custom function to render the dev tools trigger component.
146 */
147 customTrigger?:
148 | ((el: HTMLElement, props: TriggerProps) => SolidElement)
149 | SolidElement
150 }
151 /**

Callers 1

SolidDevtoolsCoreFunction · 0.70

Calls 1

TriggerFunction · 0.85

Tested by

no test coverage detected