print layout renders and remembers changes
This commit is contained in:
parent
8dfc54e141
commit
2e2cbf70d2
6 changed files with 445 additions and 402 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue