Skip to content

Commit f926d8c

Browse files
committed
chore(micro-app): update doc
1 parent c73dbc9 commit f926d8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/javascript/api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,7 @@ window.lumapps.customize(({ components }) => {
786786

787787
This component allows to display a [micro app](https://docs.lumapps.com/docs/ls/content/3975133065180467/knowledge-l40063457350627685) on any of the Customizations API extension points. This can be done by using the micro app's id (which can be retrieved from the [Installed extensions](https://docs.lumapps.com/docs/ls/content/5508517796380672/admin-l9568619807585214extensions#installed-extensions) section by browsing the Settings of each extension) and using it.
788788

789+
For example, the following snippet will display a MicroApp above the Org. chart on the User's Profile.
789790
```js
790791
window.lumapps.customize(({ components, constants, render }) => {
791792
const { MicroApp, Card } = components;
@@ -795,7 +796,7 @@ window.lumapps.customize(({ components, constants, render }) => {
795796
target: targets.USER_PROFILE_ORG_CHART,
796797
toRenderWithContext: () => {
797798
return Card({
798-
className: 'user-about-page__article',
799+
className: 'user-about-page__micro-app',
799800
children: [
800801
MicroApp({
801802
id: '<your micro app id>'

0 commit comments

Comments
 (0)