File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/stories/Library/Lists/list-reservation Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1+ import { clsx } from "clsx" ;
12import { Counter , CounterProps } from "../../counter/Counter" ;
23import { StatusLabel , StatusLabelProps } from "../../status-label/StatusLabel" ;
34import { Cover } from "../../cover/Cover" ;
@@ -48,12 +49,12 @@ export const ListReservationsAndLoans = (
4849 </ div >
4950 < button
5051 type = "button"
52+ className = { clsx (
53+ "list-reservation__note-desktop" ,
54+ cover . noteAsWarning && "color-signal-alert" ,
55+ ! cover . noteAsWarning && "color-secondary-gray"
56+ ) }
5157 aria-label = "note about material"
52- className = { `list-reservation__note-desktop ${
53- cover . noteAsWarning
54- ? "color-signal-alert"
55- : "color-secondary-gray"
56- } `}
5758 >
5859 { cover . noteLabel }
5960 </ button >
You can’t perform that action at this time.
0 commit comments