Logos DX
    Preparing search index...

    Interface FunctionComponentElement<P>

    Use ReactElement<P, React.FunctionComponent<P>>

    interface FunctionComponentElement<P> {
        key: string | null;
        props: P;
        ref?: "ref" extends keyof P ? P extends { ref?: R } ? R : never : never;
        type: FunctionComponent;
    }

    Type Parameters

    • P

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    key: string | null
    props: P
    ref?: "ref" extends keyof P ? P extends { ref?: R } ? R : never : never

    Use element.props.ref instead.