Skip to content

Home > @unseenco/backstage-core > ISheetObject > showPropsOf

ISheetObject.showPropsOf() method

Show another object's props in this object's Studio details pane. Runtime-only (not persisted). Edits and sequencing still target the source objects. Pass [] to clear.

Signature:

typescript
showPropsOf(objects: ISheetObject<any>[]): void;

Parameters

ParameterTypeDescription
objects[ISheetObject](./backstage-core.isheetobject.md)<!-- -->&lt;any&gt;\[\]

Returns:

void

Example

ts
const appearance = sheet.object('Appearance', {color: types.rgba()})
const box = sheet.object('Box', {x: 0})
box.showPropsOf([appearance])