src/__experimental__/components/search/search.component.js
/** Prop for active search threshold. This must be a positive number. */
Prop for active search threshold. This must be a positive number.
Prop for active search threshold . This must be a positive number .
threshold (props, propName) {
    let error;
    if (props[propName] && typeof props[propName] === 'number' && props[propName] < 0) {
      error = new Error('Threshold must be a positive number.');
    }
    return error;
  }
threshold ( props , propName ) { let error ; if ( props [ propName ] && typeof props [ propName ] === 'number' && props [ propName ] < 0 ) { error = new Error ( 'Threshold must be a positive number.' ) ; } return error ; }
Prop for active search threshold.
Prop for active search threshold .