I am trying to include the props (string) value in my scss file
Within my component, I am using the nbColor prop with a value of 'warning'. I want to be able to use this value in my scss file where I have a class called .colorNb {color: color(nbColor);} I wish for nbColor to dynamically set the color value as nbColor = color: color(warning)
When calling my component
<Table :nbColor="'warning'" />
In my Table component
<span: class = "{colorNb: nbColor}"> {{nb}} </span>
the prop is defined as nbColor: { type: String, required: false }