Skip to content

Conversation

@LironHazan
Copy link
Contributor

No description provided.

width="40"
height="3.6mm"
fill="url(#points)"
/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These repeated rect elements can be replaced with iterating over the array using map, e.g.:

${gapBetweenBlocks.map(gap => svg`<rect  transform="translate(${gap})"  y="12.55"  width="40"  height="3.6mm"  fill="url(#points)"  />`) }
@urish
Copy link
Collaborator

urish commented Sep 16, 2021

Closing as this is incomplete

@urish urish closed this Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants