Skip to content

API reference > @kontsedal/olas-devtools > DevtoolsLauncher

DevtoolsLauncher() function ​

A floating devtools window for one root, behind a launcher button in the bottom-right corner. The window's header drags it and its corner grip resizes it. Position, size, and open and minimized state persist tolocalStorage under storageKey. Render <DevtoolsLauncher root={root} /> once, near the app's root, typically only in development builds.

The launcher owns the panel's store: it records from mount, and the history survives closing and minimizing the window. A devtools error never unmounts the host app; a failure outside the panel hides the launcher.

Signature:

typescript
export declare function DevtoolsLauncher(props: DevtoolsLauncherProps): ReactElement;

Parameters ​

Parameter

Type

Description

props

DevtoolsLauncherProps

Returns:

ReactElement

Released under the MIT License.