From 8bd7262ded7bcd56304f977874c3a8bb5b8ffbad Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 20 Apr 2022 14:47:23 +0100 Subject: [PATCH] Refactor --- README.md | 5 +++-- pages/setup/index.js | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c2d8f7f37f..bbd1120b8a 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,13 @@ Import all components and structures Majority of PrimeReact components (95%) are native and there are some exceptions having 3rd party dependencies such as Google Maps for GMap. -In addition, components require PrimeIcons for icons and react-transition-group for animations. They are available as dependencies in the npm package of PrimeReact. +In addition, components require PrimeIcons for icons and react-transition-group for animations. The react-transition-group is available as dependencies in the npm package of PrimeReact. ```javascript dependencies: { "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react-dom": "^17.0.0 || ^18.0.0", + "primeicons": "^5.0.0" } ``` diff --git a/pages/setup/index.js b/pages/setup/index.js index 4a9bc16127..71d6b84765 100644 --- a/pages/setup/index.js +++ b/pages/setup/index.js @@ -199,13 +199,14 @@ primereact/resources/themes/rhea/theme.css

Majority of PrimeReact components (95%) are native and there are some exceptions having 3rd party dependencies such as Google Maps for GMap.

In addition, components require PrimeIcons library for icons and react-transition-group for animations. - They are available as dependencies in the npm package of PrimeReact.

+ The react-transition-group is available as dependencies in the npm package of PrimeReact.

{` dependencies: { "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" + "primeicons": "^5.0.0" } `}