Replies: 2 comments 1 reply
-
@ryanpark I'm unable to reproduce |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @anubra266 But I found another issue with See example |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 🐼
I am encountering difficulties while trying to use template literals and I am receiving the following error:
App.jsx:8 Uncaught TypeError: styled.button is not a function
I initialized a project with the tagged template literal syntax, run the following command.
panda init -p --syntax template-literal --jsx-framework react
also add following flag at panda config file
jsxFramework: "react",
Here is my code :
import { styled } from "../styled-system/jsx";
const Button = styled.button` background-color: #fff; border: 1px solid #000; color: #000; padding: 0.5rem 1rem; `;
<Button />
Is anything I miss here ? Thanks
Beta Was this translation helpful? Give feedback.
All reactions