From f926d8c5ec31ed51c2c103efafa851255d506261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juani=20Gal=C3=A1n?= Date: Fri, 13 Dec 2024 09:06:28 +0100 Subject: [PATCH] chore(micro-app): update doc --- docs/javascript/api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/javascript/api.md b/docs/javascript/api.md index 3b63a94..cd8c254 100644 --- a/docs/javascript/api.md +++ b/docs/javascript/api.md @@ -786,6 +786,7 @@ window.lumapps.customize(({ components }) => { 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. +For example, the following snippet will display a MicroApp above the Org. chart on the User's Profile. ```js window.lumapps.customize(({ components, constants, render }) => { const { MicroApp, Card } = components; @@ -795,7 +796,7 @@ window.lumapps.customize(({ components, constants, render }) => { target: targets.USER_PROFILE_ORG_CHART, toRenderWithContext: () => { return Card({ - className: 'user-about-page__article', + className: 'user-about-page__micro-app', children: [ MicroApp({ id: ''