File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
components/src/components/tag Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 3636 min-height : rem (24px );
3737 margin : $carbon--spacing-02 ;
3838 padding : $carbon--spacing-02 $carbon--spacing-03 ;
39+ vertical-align : middle ;
3940 word-break : break-word ;
4041 border-radius : rem (15px );
4142 cursor : default ;
Original file line number Diff line number Diff line change @@ -94,6 +94,19 @@ _Default.parameters = {
9494 } ,
9595} ;
9696
97+ export const VerticalAlignment = ( ) => (
98+ < >
99+ < Tag type = "gray" > Tag 1</ Tag >
100+ < Tag type = "gray" renderIcon = { Compass16 } >
101+ Tag 2
102+ </ Tag >
103+ < Tag type = "gray" filter >
104+ Tag 3
105+ </ Tag >
106+ < Tag type = "gray" > Tag 3</ Tag >
107+ </ >
108+ ) ;
109+
97110export const Filter = ( ) => (
98111 < Tag className = "some-class" { ...props . filter ( ) } filter >
99112 { text ( 'Content (children)' , 'This is a tag' ) }
You can’t perform that action at this time.
0 commit comments