extensions/xnat/src/components/XNATNavigation/XNATSessionLabel.js
/**
   * _headerLabel - Returns a JSX component for the header.
   *
   * @returns {Object} The JSX component.
   */
Returns a JSX component for the header.
@returns {Object} The JSX component.
Returns a JSX component for the header . @returns { Object } The JSX component .
_headerLabel() {
    const { label, ID, active } = this.props;
    if (active) {
      return (
        <>
          <h5 className="xnat-nav-active">{label}</h5>
        </>
      );
    }
    return (
      <>
        <h5>{label}</h5>
      </>
    );
  }
_headerLabel ( ) { const { label , ID , active } = this . props ; if ( active ) { return ( < > < h5 className = "xnat-nav-active" > { label } < / h5 > < / > ) ; } return ( < > < h5 > { label } < / h5 > < / > ) ; }
_headerLabel - Returns a JSX component for the header.
_headerLabel - Returns a JSX component for the header .