Skip to content

Conditional inline styling #134

Description

@ramiroaisen

It will be better to put --css-vars in conditional styles like style={someprop is defined ? "--css-var: ${someprop}" : ""} insted of style="--css-var: {someprop}"`

this way you doesnt need to put !important if you do

.some-component{
  color: #fff:
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bits and piecesSmall bug fixes and enhancementspendingWaiting for more information

    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