feat(components): Updated simon linedrawing with work by Ennis
This commit is contained in:
parent
dcb9c23861
commit
7da97aa781
3 changed files with 131 additions and 19 deletions
|
@ -13,7 +13,7 @@ const LineDrawing = props => {
|
|||
attr.width = props.size
|
||||
attr.height = props.size
|
||||
}
|
||||
return <svg {...attr}>{patterns[props.pattern].map(el => el)}</svg>
|
||||
return <svg {...attr}>{patterns[props.pattern] || null}</svg>
|
||||
}
|
||||
|
||||
LineDrawing.propTypes = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue