We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bg-green-${c}
The following works with @twind/shim
@twind/shim
{[50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map((c) => ( <div key={c} className="flex items-center gap-1"> <div className={`w-6 h-6 rounded-full bg-green-${c}`} ></div> <p>{c}</p> </div> ))}
but without shim how do we use template literal properly..?
{[50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map((c) => ( <div key={c} className={tw`flex items-center gap-1`}> <div className={tw`w-6 h-6 rounded-full bg-green-${c}`} ></div> <p>{c}</p> </div> ))}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following works with
@twind/shim
but without shim how do we use template literal properly..?
The text was updated successfully, but these errors were encountered: