Skip to content

If conditions do not work with strings #64

@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