add optional styling for shapes from redux store

This commit is contained in:
Lachlan Kermode
2019-01-18 12:09:37 +00:00
parent e7cac13fb5
commit 10b62e1e23
4 changed files with 45 additions and 34 deletions

View File

@@ -102,6 +102,13 @@ const initial = {
stroke: 'red',
strokeWidth: 3
}
},
shapes: {
default: {
stroke: 'blue',
strokeWidth: 3,
opacity: 0.9
}
}
},
dom: {