hc-oss / react-multi-select-component

Lightweight (~5KB gzipped) multiple selection dropdown component
https://codesandbox.io/s/react-multi-select-example-uqtgs
MIT License
386 stars 89 forks source link

feat(no-inject-style): added second build with no style injection #719

Closed marcinm2h closed 11 months ago

marcinm2h commented 11 months ago

Created second build for the CSP problem when using recommended strict policy on production.

import { MultiSelect } from "react-multi-select-component";

Would be changed (if needed) to: import { MultiSelect } from "react-multi-select-component/no-inject-style"; import "react-multi-select-component/no-inject-style/index.css";

Should help with those issues also.

https://github.com/hc-oss/react-multi-select-component/issues/655 https://github.com/hc-oss/react-multi-select-component/issues/516