Nice article and video! Could you make one to use with styled-components?
you can write the same way the styled component just like this with emotion
import tw, { styled } from "twin.macro" export const Hero = tw.div w-full bg-center h-full bg-cover and mixed
w-full bg-center h-full bg-cover
export const Title1 = styled.div ${twtext-silver text-center text-4xl font-bold mt-3 mb-3} font-family:'Fondamento'; color: ${(props) => (props.color ? "#e0e2db" : "text-gray-300")};
${tw
} font-family:'Fondamento'; color: ${(props) => (props.color ? "#e0e2db" : "text-gray-300")};
image
+1 -- I think most people would get more benefit from this if you used styled-components.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article and video! Could you make one to use with styled-components?
you can write the same way the styled component just like this with emotion
import tw, { styled } from "twin.macro"
export const Hero = tw.div
w-full
bg-center
h-full
bg-cover
and mixed
export const Title1 = styled.div
text-silver text-center text-4xl font-bold mt-3 mb-3${tw
}
font-family:'Fondamento';
color: ${(props) => (props.color ? "#e0e2db" : "text-gray-300")};
image
+1 -- I think most people would get more benefit from this if you used styled-components.