New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@splunk-eap/react-scs-nav

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@splunk-eap/react-scs-nav

Navigation Bar for Apps on Splunk Cloud Services platform.

  • 3.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

SCS Nav

Navigation Bar for Apps on Splunk Cloud Services platform.

  • You can find the source code for the package in the workflow-components repo
  • You can ask the team questions in the slack channel #swp-workflow-components
  • You can request new features by creating a JIRA Story
  • You can report a bug by creating a JIRA Bug

Install

npm install @splunk/react-scs-nav@3.1.0

Or

yarn add @splunk/react-scs-nav@3.1.0

Imports

Components

import Nav, {
    MenuItem,
    AppNavItem,
    AppNavDropdown,
    AboutIcon,
    FeedbackIcon,
    HelpIcon,
    SettingsIcon,
} from '@splunk/react-scs-nav/';

Providers

import NavProvider from '@splunk/react-scs-nav/NavProvider';
import NavMockProvider from '@splunk/react-scs-nav/NavMockProvider';

Themes

import themes from '@splunk/react-scs-nav/themes';

Configuring your app for compatibility

Place your logo file in the root of your application. It should be 48 pixels tall with no margins or padding.

/logo-dark-48.png

App Switcher

The app switcher will pass in the tenant via a query string parameter. This allows you to determine your own url schema. Additional parameters may be added in the future, such as locale.

/r/switchApp?tenantName=demotenant

Redirecting with react-router and IE 11 support:

import queryString from 'query-string';

...

<Route
    path="/r/switchApp"
    render={props => (
        <Redirect
            to={`/${queryString.parse(props.location.search).tenantName}/`}
        />
    )}
/>

Redirecting with react-router and no IE 11 support:

<Route
    path="/r/switchApp"
    render={props => (
        <Redirect
            to={`/${new URLSearchParams(props.location.search).get('tenantName')}/`}
        />
    )}
/>

FAQs

Package last updated on 02 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc