Skip to content

Commit

Permalink
Load @emotion/styled for Material UI components
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Nov 5, 2024
1 parent e942bdf commit 1a2f145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panel/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ def _process_importmap(cls):
"react-is": f"https://esm.sh/react-is@{v_react}&external=react",
"@emotion/cache": f"https://esm.sh/@emotion/cache?deps=react@{v_react},react-dom@{v_react}",
"@emotion/react": f"https://esm.sh/@emotion/react?deps=react@{v_react},react-dom@{v_react}&external=react,react-is",
"@emotion/styled": f"https://esm.sh/@emotion/styled?deps=react@{v_react},react-dom@{v_react}&external=react,react-is",
})
for k, v in imports.items():
if '?' not in v and 'esm.sh' in v:
Expand Down

0 comments on commit 1a2f145

Please sign in to comment.