ensureNoConflicts(props = {}) {
    const sum = this.sumPropsInObj(sizeRelatedProps, props)

    if (gt(sum, 1)) {
      throw Error(
        `You have specified more than one of the following size-related props:
        small, medium, large, huge, size. Only one of these props may be
        specified per each component instance.`
      )
    }
  }
/*
   * Ensure no prop conflicts.
   * Verifies that developer has not passed any conflicting props. Provided so,
   * throws an error.
   **/
Ensure no prop conflicts.
Verifies that developer has not passed any conflicting props. Provided so,
throws an error.
Ensure no prop conflicts . Verifies that developer has not passed any conflicting props . Provided so throws an error .
ensureNoConflicts(props = {}) {
    const sum = this.sumPropsInObj(sizeRelatedProps, props)
    if (gt(sum, 1)) {
      throw Error(
        `You have specified more than one of the following size-related props:
        small, medium, large, huge, size. Only one of these props may be
        specified per each component instance.`
      )
    }
  }
ensureNoConflicts ( props = { } ) { const sum = this . sumPropsInObj ( sizeRelatedProps , props ) if ( gt ( sum , 1 ) ) { throw Error ( ` ` ) } }
Ensure no prop conflicts.
Ensure no prop conflicts .