use-css
Inject CSS into the shadowRoot
Last updated
Inject CSS into the shadowRoot
Last updated
Inject tag style into shadowRoot with content given as parameter to use CSS.
This hook was not created as a replacement for component.styles, it is rather a utility that seeks to facilitate the integration of css from a customHook, either by defining a state or another action.