Interface DelegateValue<P, E>

A value delegated to children of the DelegateContext.Provider.

interface DelegateValue<P, E> {
    props?: P;
    ref?: Ref<E>;
}

Type Parameters

  • P = {}

    Delegated props.

  • E = any

    An element to which props are delegated.

Hierarchy (view full)

Properties

Properties

props?: P

Delegated props.

ref?: Ref<E>

A reference that must be added to an element to which props are delegated.