0

I am trying to add this inline styling to my component but as soon as i add 45deg the color is not displayed, any clue?

   <TimeEntryCard
    isQuantity={false}
    backgroundColor=
     {
      entry.status === 'draft' ?
      "repeating-linear-gradient(
       45deg,
       white 
       white 13px,
       #f6f7f9 13px,
       #f6f7f9 25px)
      "
      : backgroundColor
     }
user14749773
  • 107
  • 10
  • Why? Is there a reason you can't use either normal CSS, or components that import their css from a proper css file? (e.g. https://stackoverflow.com/questions/47090574/how-to-make-react-css-import-component-scoped) – Mike 'Pomax' Kamermans Jan 12 '22 at 16:42

0 Answers0