- withFive<F>(features): (<P, C>(Component: C & ComponentClass<P, any>) => ForwardRefExoticComponent<PropsWithoutRef<Omit<P, "$five">> & RefAttributes<Omit<InstanceType<C>,
| "context"
| "state"
| "setState"
| "render"
| "componentDidMount"
| "shouldComponentUpdate"
| "componentWillUnmount"
| "componentDidCatch"
| "getSnapshotBeforeUpdate"
| "componentDidUpdate"
| "componentWillMount"
| "UNSAFE_componentWillMount"
| "componentWillReceiveProps"
| "UNSAFE_componentWillReceiveProps"
| "componentWillUpdate"
| "UNSAFE_componentWillUpdate"
| "forceUpdate"
| "props"
| "refs">>>) Returns (<P, C>(Component: C & ComponentClass<P, any>) => ForwardRefExoticComponent<PropsWithoutRef<Omit<P, "$five">> & RefAttributes<Omit<InstanceType<C>,
| "context"
| "state"
| "setState"
| "render"
| "componentDidMount"
| "shouldComponentUpdate"
| "componentWillUnmount"
| "componentDidCatch"
| "getSnapshotBeforeUpdate"
| "componentDidUpdate"
| "componentWillMount"
| "UNSAFE_componentWillMount"
| "componentWillReceiveProps"
| "UNSAFE_componentWillReceiveProps"
| "componentWillUpdate"
| "UNSAFE_componentWillUpdate"
| "forceUpdate"
| "props"
| "refs">>>)
- <P, C>(Component): ForwardRefExoticComponent<PropsWithoutRef<Omit<P, "$five">> & RefAttributes<Omit<InstanceType<C>,
| "context"
| "state"
| "setState"
| "render"
| "componentDidMount"
| "shouldComponentUpdate"
| "componentWillUnmount"
| "componentDidCatch"
| "getSnapshotBeforeUpdate"
| "componentDidUpdate"
| "componentWillMount"
| "UNSAFE_componentWillMount"
| "componentWillReceiveProps"
| "UNSAFE_componentWillReceiveProps"
| "componentWillUpdate"
| "UNSAFE_componentWillUpdate"
| "forceUpdate"
| "props"
| "refs">>> Parameters
- Component: C & ComponentClass<P, any>
Returns ForwardRefExoticComponent<PropsWithoutRef<Omit<P, "$five">> & RefAttributes<Omit<InstanceType<C>,
| "context"
| "state"
| "setState"
| "render"
| "componentDidMount"
| "shouldComponentUpdate"
| "componentWillUnmount"
| "componentDidCatch"
| "getSnapshotBeforeUpdate"
| "componentDidUpdate"
| "componentWillMount"
| "UNSAFE_componentWillMount"
| "componentWillReceiveProps"
| "UNSAFE_componentWillReceiveProps"
| "componentWillUpdate"
| "UNSAFE_componentWillUpdate"
| "forceUpdate"
| "props"
| "refs">>>