MathiasGilson / Tailwind-Styled-Component

Create Tailwind CSS React components like styled components with class names on multiple lines and conditional class rendering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apply tag selector that depends on another component

matheusTA opened this issue · comments

Hi,

I need an equivalent of this:

export const Header = styled.div`
	background-color: #000;
	display: flex;
	justify-content: space-between;
	align-items: center;

	span {
		color: #fff;
	}

	button {
		background-color: #67f;
		color: #000;
	}
`;

Is there an equivalent with this library?

me too for next.js 13 app directory