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
}
GitHub
Tailwind Select Component for React.js. Contribute to onesine/react-tailwindcss-select development by creating an account on GitHub.
GitHub - onesine/react-tailwindcss-select: Tailwind Select Componen...
Was this page helpful?