[core] Bug when trying to wrap the styled
function
#21
Labels
enhancement
This is not a bug, nor a new feature
new feature
New feature or request
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
Steps to reproduce
Links to live example:
Next.JS: https://stackblitz.com/edit/stackblitz-starters-e6kyr6?description=The%20React%20framework%20for%20production&file=app%2Fpage.tsx&title=Next.js%20Starter
Vite: https://stackblitz.com/edit/vitejs-vite-14nhvq?file=src%2FApp.tsx
Steps: just click the link and let the app start.
Current behavior
There appears to be a bug when trying to wrap
styled
function from"@pigment-css/react"
.Here's the screenshot from Vite environment
Expected behavior
The CSS should be applied to the element.
Context
I am trying to have a simple wrapper for
styled
function from"@pigment-css/react"
.Since it doesn't work, I'm wondering whether is it a bug or is it simply not supported?
Your environment
npx @mui/envinfo
Search keywords: pigment-css wrapper
The text was updated successfully, but these errors were encountered: