@commercetools-frontend/application-components 20.13.0 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -4,17 +4,4 @@
|
|
|
4
4
|
<a href="https://www.npmjs.com/package/@commercetools-frontend/application-components"><img src="https://badgen.net/npm/v/@commercetools-frontend/application-components" alt="Latest release (latest dist-tag)" /></a> <a href="https://www.npmjs.com/package/@commercetools-frontend/application-components"><img src="https://badgen.net/npm/v/@commercetools-frontend/application-components/next" alt="Latest release (next dist-tag)" /></a> <a href="https://bundlephobia.com/result?p=@commercetools-frontend/application-components"><img src="https://badgen.net/bundlephobia/minzip/@commercetools-frontend/application-components" alt="Minified + GZipped size" /></a> <a href="https://github.com/commercetools/merchant-center-application-kit/blob/main/LICENSE"><img src="https://badgen.net/github/license/commercetools/merchant-center-application-kit" alt="GitHub license" /></a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
The components follow the same principles of the [UIKit](https://github.com/commercetools/ui-kit) components, but are more specific to Merchant Center applications.
|
|
9
|
-
|
|
10
|
-
## Install
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
$ npm install --save @commercetools-frontend/application-components
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Usage outside of Custom Applications
|
|
17
|
-
|
|
18
|
-
If you happen to use some of the components outside of a Custom Application, you need to additionally render the `<PortalsContainer>`.
|
|
19
|
-
|
|
20
|
-
The `<PortalsContainer>` renders an empty HTML element with a specific identifier and is used to render all modal components (dialogs, modal pages, etc.). Make sure to render this component once in your application.
|
|
7
|
+
Check out the [documentation](https://docs.commercetools.com/custom-applications/api-reference/commercetools-frontend-application-components) for more information.
|