Skip to content

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

ISheetObject.value property

The current values of the props.

Signature:

typescript
readonly value: PropsValue<Props>;

Example

Usage:

ts
const obj = sheet.object("obj", {x: 0})
console.log(obj.value.x) // prints 0 or the current numeric value

Future: Notice that if the user actually changes the Props config for one of the properties, then this type can't be guaranteed accurrate. * Right now the user can't change prop configs, but we'll probably enable that functionality later via (object.overrideConfig()). We need to educate the user that they can't rely on static types to know the type of object.value.