MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / getDeviceView

Function getDeviceView

static/components.ts:1014–1020  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1012
1013/** Get an empty device view component. */
1014export function getDeviceView(): ComponentConfig<typeof DEVICE_VIEW_COMPONENT_NAME> {
1015 return {
1016 type: 'component',
1017 componentName: DEVICE_VIEW_COMPONENT_NAME,
1018 componentState: {},
1019 };
1020}
1021
1022/** Get a device view with the given configuration. */
1023export function getDeviceViewWith(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected