Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSX expressions are not converted propperly #6

Closed
isBatak opened this issue Aug 8, 2023 · 0 comments
Closed

JSX expressions are not converted propperly #6

isBatak opened this issue Aug 8, 2023 · 0 comments

Comments

@isBatak
Copy link

isBatak commented Aug 8, 2023

For example normal string (' single quote or double)

<header
  className={'header top-0 left-0 z-40 flex w-full items-center bg-transparent'}
>
<header
        className={{css(
{"top":"0","left":"0","zIndex":"40","display":"flex","w":"full","alignItems":"center","bgColor":"transparent"})}}
      >

I guess this is fine but it's not consistent with other transformations because all the props are strings

Template string doesn't get transformed at all

<header
  className={`header top-0 left-0 z-40 flex w-full items-center bg-transparent`}
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants