Interface DelegateProviderProps<P, E>

Props of the DelegateContext.Provider component.

interface DelegateProviderProps<P, E> {
    children?: ReactNode;
    props?: P;
    ref?: Ref<E>;
}

Type Parameters

  • P

    Delegated props.

  • E

    An element to which props are delegated.

Hierarchy (view full)

Properties

Properties

children?: ReactNode
props?: P

Delegated props.

ref?: Ref<E>

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