Generate css base on prop

PHOTO EMBED

Mon Jan 31 2022 15:44:53 GMT+0000 (Coordinated Universal Time)

Saved by @avivdaniel #typescript

    ${({ expanded }) =>
      !expanded &&
      css`
        &::after {
          content: '';
          width: 100%;
          height: 100%;
          position: absolute;
          background: white;
          inset: 0;
        }
    `}
content_copyCOPY