@threadplane/renderInterfacev0.3.4

RepeatScope

Current repeated row's item, zero-based index, and absolute state path for item-relative prop and action resolution.

import type { RepeatScope } from '@threadplane/render';

Declaration

export interface RepeatScope  {
  basePath: string;
  index: number;
  item: unknown;
}

Members

basePath

basePath: string;

index

index: number;

item

item: unknown;