Internal dependencies
 
StatsDataLocalList component

@api public
function StatsDataLocalList( options ) {
	if ( ! ( this instanceof StatsDataLocalList ) ) {
		return new StatsDataLocalList( options );
	}

	if ( 'string' !== typeof options.localStoreKey ) {
		throw new TypeError( 'a options.localStoreKey must be passed in' );
	}

	debug( 'creating new local list' );
	this.localStoreKey = options.localStoreKey;
	this.limit = options.limit || 10;
	return this;
}