Skip to content

No value no css #1281

Description

@zomem
const Line = styled(div)`
  background-color: ${props => props.bgColor};
  margin-left: ${props => props.margin};
`

if bgColor='#fff' and margin=''

{
    --b9s1f2v-1: #fff;
}

.b9s1f2v{
  background-color: var(--b9s1f2v-1);
}

Just like this, margin has no value, and the generated css has no margin-left. How to implement it.🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature: proposal 💬New feature proposal that needs to be discussedneeds: triage 🏷Issue needs to be checked and prioritized

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions