Skip to main content

TChildProps

export
interface TChildProps {
  childElement: ReactElement<any, string | JSXElementConstructor<any>>;
  childTnode: TNode;
  index: number;
  key: string | number;
  propsFromParent: PropsFromParent;
}

Props to render a child.

Fields#

childElement#

required
childElement: ReactElement<any, string | JSXElementConstructor<any>>;

The child element.

childTnode#

required
childTnode: TNode;

The child associated ​TNode.

index#

required
index: number;

The position relative to parent.

key#

required
key: string | number;

The React key.

propsFromParent#

required
propsFromParent: PropsFromParent;

Props that have been set via ​propsForChildren.