Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Apr 20, 2022
1 parent 3020570 commit 8bd7262
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand Down
3 changes: 2 additions & 1 deletion pages/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,14 @@ primereact/resources/themes/rhea/theme.css
<p>Majority of PrimeReact components (95%) are native and there are some exceptions having 3rd party dependencies such as Google Maps for GMap.</p>
<p>In addition, components require <Link href="/icons">PrimeIcons</Link> library for icons and
<a href="https://www.npmjs.com/package/react-transition-group" className="layout-content-link"> react-transition-group</a> for animations.
They are available as dependencies in the npm package of PrimeReact.</p>
The <a href="https://www.npmjs.com/package/react-transition-group" className="layout-content-link"> react-transition-group</a> is available as dependencies in the npm package of PrimeReact.</p>

<CodeHighlight lang="js">
{`
dependencies: {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
"primeicons": "^5.0.0"
}
`}
</CodeHighlight>
Expand Down

0 comments on commit 8bd7262

Please sign in to comment.