Adding react ui library to volto addon causes issue


I am facing an issue while importing the CSS file of a custom react library in my case I am using 'GitHub - italia/design-react-kit: A React toolkit that implements the Italia design system'. I have added this to my addon. and white importing the CSS import 'bootstrap-italia/dist/css/bootstrap-italia.min.css'; in the index.js file of my custom addon all the blocks are invisible on EditMode. I've also tried and the same case happens there also importing CSS will mess up the edit mode. Any ideas on fixing it?