You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to [Design System React](https://react.lightningdesignsystem.com/).
3
+
4
+
Presented here are Javascript components based on [Lightning Design System](https://www.lightningdesignsystem.com/) and designed for React.
5
+
6
+
* Tailored for building Salesforce apps: Using Design System React ensures that your app's UI reflect the Salesforce Lightning look, feel, and behaviors.
7
+
* Continuously updated: As long as you’re using the latest version of Design System React, your pages are always up to date with Salesforce UI changes.
8
+
9
+
## Documentation
10
+
11
+
[Design System React website](https://react.lightningdesignsystem.com/)
12
+
13
+
[Salesforce Lightning Design System website](https://www.lightningdesignsystem.com/)
* The App Launcher allows the user to quickly access all the apps and functionality with their organization.
33
+
* The App Launcher should generally only be used as a sub-component of the [Global Navigation Bar](/components/global-navigation-bar)
34
+
*
35
+
* Also note: App Launcher is not included in the standard component export. To import it, you must reference it directly via its path.
36
+
* Example:
37
+
* ```
38
+
* import AppLauncher from 'design-system-react/components/app-launcher';
39
+
* import AppLauncherTile from 'design-system-react/components/app-launcher/tile';
40
+
* import AppLauncherSection from 'design-system-react/components/app-launcher/section';
41
+
* ```
42
+
*
43
+
* USAGE EXAMPLE:
44
+
* ```
45
+
* <AppLauncher>
46
+
* <AppLauncherSection>
47
+
* <AppLauncherTile />
48
+
* <AppLauncherTile />
49
+
* <AppLauncherTile />
50
+
* </AppLauncherSection>
51
+
* <AppLauncherSection>
52
+
* <AppLauncherTile />
53
+
* <AppLauncherTile />
54
+
* </AppLauncherSection>
55
+
* </AppLauncher>
56
+
* ```
57
+
*
58
+
* By default, `Modal`, a child component of App Launcher, will add `aria-hidden=true` to the `body` tag, but this disables some assistive technologies. To prevent this you can add the following to your application with `#mount` being the root node of your application that you would like to hide from assistive technologies when the `Modal` is open.
59
+
* ```
60
+
* import settings from 'design-system-react/components/settings';
61
+
* settings.setAppElement('#mount');
62
+
* ```
63
+
*/
64
+
65
+
// ## Children
66
+
67
+
68
+
// ### isFunction
69
+
varAppLauncher=_react2.default.createClass({
70
+
// ### Display Name
71
+
// Always use the canonical component name as the React display name.
72
+
displayName: _constants.APP_LAUNCHER,
73
+
74
+
// ### Prop Types
75
+
propTypes: {
76
+
/**
77
+
* One or more `<AppLauncherSection />`s each containing one or more `<AppLauncherTile />`s
78
+
*/
79
+
children: _propTypes2.default.node.isRequired,
80
+
/**
81
+
* Control the open/close state of the App Launcher
// Not present in SLDS, but is consistent with other implementations of App Launcher. This also prevents resizing/jumping around when filtering. It will start clipping the modal close button at 600px viewport height.
// This component's `checkProps` which issues warnings to developers about properties when in development mode (similar to React's built in development tools)
267
+
268
+
269
+
// ### classNames
270
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
271
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
0 commit comments