react-checkbox-tree icon indicating copy to clipboard operation
react-checkbox-tree copied to clipboard

css is not loading properly

Open darda-veostr opened this issue 1 year ago • 2 comments

Describe the bug .css file is not working

I have css file include Like this: import "react-checkbox-tree/lib/react-checkbox-tree.css";

Screenshots

react_tree_view

darda-veostr avatar Aug 13 '23 22:08 darda-veostr

The CSS looks to have loaded fine, but the icons are not rendering. Did you import Font Awesome (the default icon library for this component)? You could add the following to the HTML:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" />

jakezatecky avatar Aug 19 '23 01:08 jakezatecky

@jakezatecky Had a similar problem when importing into the page, the CDN worked for me.

codygPRAMS avatar Oct 11 '23 21:10 codygPRAMS