From 3293aa7d3ff97211860e6b3be9d04884c2077313 Mon Sep 17 00:00:00 2001 From: DE BAERDEMAEKER Mathieu Date: Thu, 31 Jan 2019 11:35:17 +0100 Subject: [PATCH] doc(modal): adding import sass and css in readme.md --- packages/Modal/default/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/Modal/default/README.md b/packages/Modal/default/README.md index d90480fd2..a7ef33fdb 100644 --- a/packages/Modal/default/README.md +++ b/packages/Modal/default/README.md @@ -8,12 +8,22 @@ npm i "@axa-fr/react-toolkit-modal-default" For more information about style component, you can see the [Modal Style on Toolkit-core ](http://toolkit-intranet-axa.azurewebsites.net/#/modal) +### Import + +```javascript +import '@axa-fr/react-toolkit-modal/dist/modal.scss +/* or */ +import '@axa-fr/react-toolkit-modal/dist/af-modal.css +``` + ### Exemple ```javascript import React from 'react'; import Modal from '@axa-fr/react-toolkit-modal'; +import '@axa-fr/react-toolkit-modal/dist/modal.scss + const MyModal => () => ( () => ( ) ``` -