Replies: 1 comment
-
There's a types directory with twin.d.ts - have you added that to your project? That's where the additional imports are defined. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using tailwind css in my project with next js and typescript
my package json
I try every single example from internet and I don't find any help related to variant props in twin.macro component
The way I use
Every single information on internet is just
import { styled } from 'twin.macro'
but on the latest version of twin.macro the styled component is unable to import in my project is shows this errorModule '"twin.macro"' has no exported member 'styled'. Did you mean to use 'import styled from "twin.macro"'
I need the solution of how we can use the variant property in twin.macro latest version
Beta Was this translation helpful? Give feedback.
All reactions