function resolveClassNameDelegateFactory()
Factory that creates a delegate resolver callback that could be passed down the wrapped component with narrowed state scope.
Signature:
export declare function resolveClassNameDelegateFactory<WrapperState extends AnyObject, WrappedState extends AnyObject, T extends HostClassName<WrapperState & WrappedState> | HostClassNameObject<WrapperState & WrappedState>, ClassName = T>(wrapperState: WrapperState, className: ClassName): ResolveClassNameDelegateFactoryType<WrapperState, ClassName>;
Parameters
Parameter | Type | Description |
---|---|---|
wrapperState | WrapperState | State object that is coming from the wrapper component |
className | ClassName | Class name object with extended state to be resolved with closure |
ResolveClassNameDelegateFactoryType<WrapperState, ClassName>