How to use the @appbaseio/reactivesearch/lib/utils.isFunction function in @appbaseio/reactivesearch

To help you get started, we’ve selected a few @appbaseio/reactivesearch examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github appbaseio / reactivesearch / packages / maps / src / components / result / ReactiveMap.js View on Github external
renderError = () => {
		const { error, renderError } = this.props;
		const { isLoading } = this.props;
		if (renderError && error && !isLoading) {
			return isFunction(renderError) ? renderError(error) : renderError;
		}
		return null;
	};

@appbaseio/reactivesearch

A React UI components library for building search experirnences

Apache-2.0
Latest version published 12 months ago

Package Health Score

64 / 100
Full package analysis

Similar packages