Function getOwnerInstance

  • Get the React owner instance of an element

    Parameters

    • element: Element

      Element to get the React owner instance of

    Returns React.Component & Record<string, unknown>

    React owner instance

    Throws

    If the React owner instance could not be found

Generated using TypeDoc