Skip to content

Conditional inline styling #134

@ramiroaisen

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions