File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
1010export type TagType = "beta" | "community" | "custom" | "dedicated" | "experimental" | "ibm" | "local" | "private" | "third-party" ;
1111
1212/**
13- * Supported tags types for carbon v10
13+ * Supported tag types for carbon v10
1414 */
1515export type TagTypeExperimental = "basic" | "red" | "magenta" | "purple" | "blue" | "cyan" | "teal" | "green" | "cool-gray" | "warm-gray" ;
1616
@@ -29,7 +29,7 @@ export class Tag {
2929 */
3030 @Input ( ) type : TagType | TagTypeExperimental = "ibm" ;
3131
32- @Input ( ) class : String ;
32+ @Input ( ) class = "" ;
3333
3434 @HostBinding ( "attr.class" ) get attrClass ( ) {
3535 return `bx--tag bx--tag--${ this . type } ${ this . class } ` ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ storiesOf("Tag", module)
2121 . add ( "Basic" , ( ) => ( {
2222 template : `
2323 <app-experimental-component [(isExperimental)]="experimental"></app-experimental-component>
24- <ibm-tag [type]="(!experimental ? 'ibm' : 'basic')">{{ !experimental ? "IBM" : "Basic" }}</ibm-tag>
24+ <ibm-tag [type]="(!experimental ? 'ibm' : 'basic')" class="foo {{test}}" >{{ !experimental ? "IBM" : "Basic" }}</ibm-tag>
2525 <br><br>
2626 <ibm-tag [type]="(!experimental ? 'beta' : 'red')">{{ !experimental ? "Beta" : "Red" }}</ibm-tag>
2727 <br><br>
You can’t perform that action at this time.
0 commit comments