LogoPixi’VN
indexType aliases

Type Alias: StepLabelType<T>

> StepLabelType<T> = (props, info) => StepLabelResultType | Promise<StepLabelResultType>

Defined in: src/narration/types/StepLabelType.ts:21

StepLabel is a function that will be executed as the game continues.

Type Parameters

T

T extends object = { }

Parameters

props

StepLabelPropsType<T>

info

labelId

string

The id of the label.

Returns

StepLabelResultType | Promise<StepLabelResultType>