Combining css from multiple packages in CSUI

Having some trouble getting the https://github.com/onesine/react-tailwindcss-select component working in CSUI container. I'm also using tailwind CSS and not sure what the best way to combine CSS imports is from the top level?
import cssText from 'data-text:~style.css';
import selectCSS from 'react-tailwindcss-select/dist/index.css';

export const getStyle = () => {
const style = document.createElement("style")
let css = cssText
// css += dropStyle
css += selectCSS

style.textContent = css
return style
}
import cssText from 'data-text:~style.css';
import selectCSS from 'react-tailwindcss-select/dist/index.css';

export const getStyle = () => {
const style = document.createElement("style")
let css = cssText
// css += dropStyle
css += selectCSS

style.textContent = css
return style
}
GitHub
GitHub - onesine/react-tailwindcss-select: Tailwind Select Componen...
Tailwind Select Component for React.js. Contribute to onesine/react-tailwindcss-select development by creating an account on GitHub.
1 Reply
Arcane
Arcane•11mo ago
@postonsundays has reached level 3. GG!
Want results from more Discord servers?
Add your server