Skip to content

five-on-it / apps/client/src/ui/studio/Inspector / InspectorProps

Interface: InspectorProps ​

Defined in: apps/client/src/ui/studio/Inspector.tsx:28

What the inspector is given.

Properties ​

element ​

element: Record<string, unknown>

Defined in: apps/client/src/ui/studio/Inspector.tsx:31


onDelete? ​

optional onDelete?: () => void

Defined in: apps/client/src/ui/studio/Inspector.tsx:33

Returns ​

void


schema ​

schema: Schema | undefined

Defined in: apps/client/src/ui/studio/Inspector.tsx:30

The element's schema (an item of its list's, or the spawn's).

Methods ​

onChange() ​

onChange(element): void

Defined in: apps/client/src/ui/studio/Inspector.tsx:32

Parameters ​

element ​

Record<string, unknown>

Returns ​

void