Skip to content

Commit

Permalink
docs: modify README for components's imports (don't use component fol…
Browse files Browse the repository at this point in the history
…der inside toolkit-all)
  • Loading branch information
MartinWeb committed Nov 27, 2023
1 parent 8915d83 commit d6858bb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ npm install @axa-fr/react-toolkit-all --save

```javascript
import React from 'react';

// Load only the component alert (smaller bundle size)
import { Alert } from '@axa-fr/react-toolkit-all/component/alert';

// Load all the toolkit (bigger bundle size)
import { Alert } from '@axa-fr/react-toolkit-all';

import '@axa-fr/react-toolkit-all/dist/style/af-toolkit-core.scss';
Expand Down

0 comments on commit d6858bb

Please sign in to comment.