9.1.0 • Published 6 years ago

@atlaskit/app-switcher v9.1.0

Weekly downloads
7
License
Apache-2.0
Repository
bitbucket
Last release
6 years ago

Atlaskit component registry Commitizen friendly semantic-release Report an issue

AppSwitcher

This component provides an ADG3 app switcher.

Example @atlaskit/app-switcher

Try it out

Interact with a live demo of the @atlaskit/app-switcher component.

Installation

npm install @atlaskit/app-switcher

Using the component

Use the component in your React app as follows:

import AkAppSwitcher from '@atlaskit/app-switcher';

const data = {
 "recentContainers": [
   {
     "name": "Recent container",
     "url": "https://instance.atlassian.net/container1",
     "iconUrl": "https://instance.atlassian.net/container1-icon.png",
     "type": "Space"
   },
   {
     "name": "Recent container",
     "url": "https://instance.atlassian.net/container2",
     "iconUrl": "https://instance.atlassian.net/container1-icon.png",
     "type": "Software Project"
   },
   {
     "name": "https://instance.atlassian.net/container3",
     "url": "https://instance.atlassian.net/container3",
     "iconUrl": "https://instance.atlassian.net/container1-icon.png",
     "type": "Space"
   }
 ],
 "linkedApplications": {
   "configureLink": "https://instance.atlassian.net/configure-application-links",
   "apps": [
     {
       "name": "JIRA",
       "url": "https://instance.atlassian.net/"
     },
     {
       "name": "Confluence",
       "url": "https://instance.atlassian.net/wiki",
       "label": "7 Days Left"
     },
     {
       "name": "Other application",
       "url": "https://other.application.com"
     }
   ],
   "suggested": [
    "name": "Bitbucket",
    "product": "bitbucket",
    "onClick": () => {},
   ],
 },
 links: [
   {
     text: 'Add payment details',
     url: 'https://google.com/',
   },
   {
     text: 'Request a trial extension...',
     url: 'https://example.com/',
     analyticsRef: 'xyz',
   }
 ],
 "i18n": {
   "home": "Home",
   "apps": "Apps",
   "configure": "Configure",
 }
}

ReactDOM.render(<AkAppSwitcher {...data} />, container);

* Please note that this module could have dependencies that are governed by the Atlassian Design Guidelines license which will be automatically included on install. Each dependency has a license file that indicates whether the Atlassian Design Guidelines license applies.

We're here to help!

Let us know what you think of our components and docs, your feedback is really important for us.

Are you in trouble? Read through our contribution guidelines and raise an issue to us.

9.1.0

6 years ago

9.0.0

6 years ago

8.1.0

6 years ago

8.0.1

6 years ago

8.0.0

6 years ago

7.1.0

6 years ago

7.0.0

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.8.0

6 years ago

3.7.0

6 years ago

3.6.3

6 years ago

3.6.2

6 years ago

3.6.1

6 years ago

3.6.0

6 years ago

3.5.1

6 years ago

3.5.0

6 years ago

3.4.0

6 years ago

3.3.0

6 years ago

3.2.2

6 years ago

3.2.1

7 years ago

3.2.0

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.5.1

7 years ago

2.5.0

7 years ago

2.4.3

7 years ago

2.4.2

7 years ago

2.4.1

7 years ago

2.4.0

7 years ago

2.3.5

7 years ago

2.3.4

7 years ago

2.3.3

7 years ago

2.3.2

7 years ago

2.3.1

7 years ago

2.3.0

7 years ago

2.2.0

7 years ago

2.1.6

7 years ago

2.1.5

7 years ago

2.1.4

7 years ago

2.1.3

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago