如视 Five SDK
    Preparing search index...

    Function withFive

    • Type Parameters

      Parameters

      • features: F

      Returns <P extends PropTypeOfFiveFeatures<F>, C extends ComponentClass<P, any>>(
          Component: C & ComponentClass<P, any>,
      ) => ForwardRefExoticComponent<
          PropsWithoutRef<Omit<P, "$five">> & RefAttributes<
              Omit<
                  InstanceType<C>,

                      | "context"
                      | "render"
                      | "state"
                      | "setState"
                      | "componentDidMount"
                      | "shouldComponentUpdate"
                      | "componentWillUnmount"
                      | "componentDidCatch"
                      | "getSnapshotBeforeUpdate"
                      | "componentDidUpdate"
                      | "componentWillMount"
                      | "UNSAFE_componentWillMount"
                      | "componentWillReceiveProps"
                      | "UNSAFE_componentWillReceiveProps"
                      | "componentWillUpdate"
                      | "UNSAFE_componentWillUpdate"
                      | "forceUpdate"
                      | "props"
                      | "refs",
              >,
          >,
      >