+
Skip to content

If conditions do not work with strings #64

Open
@jean343

Description

@jean343

The following gives a compilation error

const Column = styled.div`
	width: 25px;
	height: 47px;
	margin-left: -1px;
	z-index: if(@type = "filtered", 1);
`;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载