1
0
Fork 0

feat(react-components): Added Pattern component

This commit is contained in:
joostdecock 2023-06-01 18:28:22 +02:00
parent c95ebd5934
commit e146e55c69
20 changed files with 868 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import React from 'react'
export const Grid = ({ part, partName, settings }) => (
<rect
x={part.topLeft.x}
y={part.topLeft.y}
width={part.width}
height={part.height}
className="grid"
fill={'url(#grid-' + partName + ')'}
/>
)