Юниверс DG SDK UI
v2.15.0

Псевдоним типа PropsWithRef<P>

PropsWithRef: "ref" extends keyof P
    ? P extends { ref?: infer R }
        ? string extends R
            ? PropsWithoutRef<P> & { ref?: Exclude<R, string> }
            : P
        : P
    : P

Ensures that the props do not include string ref, which cannot be forwarded

Параметры типа

  • P