1
0
Fork 0

print layout renders and remembers changes

This commit is contained in:
Enoch Riese 2022-10-28 15:03:04 -05:00
parent 8dfc54e141
commit 2e2cbf70d2
6 changed files with 445 additions and 402 deletions

View file

@ -1,13 +1,14 @@
import Part from './part'
import { getProps } from './utils'
const Stack = props => {
const { stack, gist, app, updateGist, unsetGist, showInfo } = props
const Stack = (props) => {
const { stack, gist, updateGist, unsetGist, showInfo } = props
return (
<g {...getProps(stack)}>
{[...stack.parts].map((part) => (
<Part {...{ app, gist, updateGist, unsetGist, showInfo }}
<Part
{...{ gist, updateGist, unsetGist, showInfo }}
key={part.name}
partName={part.name}
part={part}